diff options
| author | John Smith <john.smith7545@yahoo.com> | 2012-09-02 23:44:27 +0000 |
|---|---|---|
| committer | John Smith <john.smith7545@yahoo.com> | 2012-09-02 23:44:27 +0000 |
| commit | bd9e980c59453168a9d55a093564421b593e186e (patch) | |
| tree | 6e577b37f7eb020878b2aa7a0cee482c685c4835 /src/ui/tool/node-tool.cpp | |
| parent | converted some c-string usage to c++ string class usage: should fix some memo... (diff) | |
| download | inkscape-bd9e980c59453168a9d55a093564421b593e186e.tar.gz inkscape-bd9e980c59453168a9d55a093564421b593e186e.zip | |
Fix for 406044 : Esc with no selection, activates selection tool
(bzr r11647)
Diffstat (limited to 'src/ui/tool/node-tool.cpp')
| -rw-r--r-- | src/ui/tool/node-tool.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/tool/node-tool.cpp b/src/ui/tool/node-tool.cpp index 71c0d3b26..b532c8b65 100644 --- a/src/ui/tool/node-tool.cpp +++ b/src/ui/tool/node-tool.cpp @@ -41,6 +41,7 @@ #include "pixmaps/cursor-node.xpm" #include "pixmaps/cursor-node-d.xpm" +#include "selection-chemistry.h" #include <gdk/gdkkeysyms.h> @@ -517,7 +518,7 @@ gint ink_node_tool_root_handler(SPEventContext *event_context, GdkEvent *event) { case GDK_KEY_Escape: // deselect everything if (nt->_selected_nodes->empty()) { - selection->clear(); + Inkscape::SelectionHelper::selectNone(desktop); } else { nt->_selected_nodes->clear(); } |
