summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/tool-base.cpp
diff options
context:
space:
mode:
authorkamalpreetgrewal <grewalkamal005@gmail.com>2016-07-24 13:05:31 +0000
committerkamalpreetgrewal <grewalkamal005@gmail.com>2016-07-24 13:05:31 +0000
commit24b5a29f592451bafba3889a1c6fa9ff48bed0d2 (patch)
treecf18cb5daadf9260187dfa1a859c41de2b4016e0 /src/ui/tools/tool-base.cpp
parentSeparate CSS dialog from Style Dialog visually (diff)
parentOrder and cleanup of some LPE (diff)
downloadinkscape-24b5a29f592451bafba3889a1c6fa9ff48bed0d2.tar.gz
inkscape-24b5a29f592451bafba3889a1c6fa9ff48bed0d2.zip
Merge changes from trunk
(bzr r14949.1.57)
Diffstat (limited to 'src/ui/tools/tool-base.cpp')
-rw-r--r--src/ui/tools/tool-base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tools/tool-base.cpp b/src/ui/tools/tool-base.cpp
index 36fe26e76..72ba499de 100644
--- a/src/ui/tools/tool-base.cpp
+++ b/src/ui/tools/tool-base.cpp
@@ -1083,7 +1083,7 @@ void sp_event_root_menu_popup(SPDesktop *desktop, SPItem *item, GdkEvent *event)
/* fixme: This is not what I want but works for now (Lauris) */
if (event->type == GDK_KEY_PRESS) {
- item = desktop->getSelection()->singleItem();
+ item = desktop->getSelection()->itemList().front();
}
ContextMenu* CM = new ContextMenu(desktop, item);