diff options
| author | John Smith <john.smith7545@yahoo.com> | 2012-09-23 08:33:15 +0000 |
|---|---|---|
| committer | John Smith <john.smith7545@yahoo.com> | 2012-09-23 08:33:15 +0000 |
| commit | f29a0a4399cac653df3df4be98ff04cbfc4773cc (patch) | |
| tree | 10a1395b8184913299fcb84e2735c6b67a2d82d3 /src/interface.cpp | |
| parent | Fix for 170395 : Add Trace Bitmap to context menu of images (diff) | |
| download | inkscape-f29a0a4399cac653df3df4be98ff04cbfc4773cc.tar.gz inkscape-f29a0a4399cac653df3df4be98ff04cbfc4773cc.zip | |
Fix for 170395 : Add Trace Bitmap to context menu of images : Focus fix
(bzr r11698)
Diffstat (limited to 'src/interface.cpp')
| -rw-r--r-- | src/interface.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interface.cpp b/src/interface.cpp index 0db046559..fdfdce5ae 100644 --- a/src/interface.cpp +++ b/src/interface.cpp @@ -2102,6 +2102,9 @@ void ContextMenu::MakeImageMenu (void) mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::ImageTraceBitmap)); mi->show(); insert(*mi,positionOfLastDialog++); + if (_desktop->selection->isEmpty()) { + mi->set_sensitive(FALSE); + } /* Embed image */ if (Inkscape::Verb::getbyid( "org.ekips.filter.embedselectedimages" )) { |
