diff options
| author | kamalpreetgrewal <grewalkamal005@gmail.com> | 2016-07-24 13:05:31 +0000 |
|---|---|---|
| committer | kamalpreetgrewal <grewalkamal005@gmail.com> | 2016-07-24 13:05:31 +0000 |
| commit | 24b5a29f592451bafba3889a1c6fa9ff48bed0d2 (patch) | |
| tree | cf18cb5daadf9260187dfa1a859c41de2b4016e0 /src/ui/tools/tool-base.cpp | |
| parent | Separate CSS dialog from Style Dialog visually (diff) | |
| parent | Order and cleanup of some LPE (diff) | |
| download | inkscape-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.cpp | 2 |
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); |
