diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-10-09 16:04:45 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-10-09 18:23:21 +0000 |
| commit | da57232ba482a93d4ed3dbbc9b7e74e71362ae38 (patch) | |
| tree | 01401aaa022f739fcaac5ad2aa6e73930178b0fd | |
| parent | update pofiles (diff) | |
| download | inkscape-da57232ba482a93d4ed3dbbc9b7e74e71362ae38.tar.gz inkscape-da57232ba482a93d4ed3dbbc9b7e74e71362ae38.zip | |
Actualizarsrc/ui/tools/node-tool.h, src/ui/tools/node-tool.cpp archivos
| -rw-r--r-- | src/ui/tools/node-tool.cpp | 6 | ||||
| -rw-r--r-- | src/ui/tools/node-tool.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/tools/node-tool.cpp b/src/ui/tools/node-tool.cpp index 937c1a657..7038572c8 100644 --- a/src/ui/tools/node-tool.cpp +++ b/src/ui/tools/node-tool.cpp @@ -284,6 +284,12 @@ void NodeTool::setup() { sp_update_helperpath(); } +// Clean selection on tool change +void NodeTool::finish() { + this->_selected_nodes->clear(); + ToolBase::finish(); +} + // show helper paths of the applied LPE, if any void sp_update_helperpath() { SPDesktop * desktop = SP_ACTIVE_DESKTOP; diff --git a/src/ui/tools/node-tool.h b/src/ui/tools/node-tool.h index 523ed5da2..7f6e2da7f 100644 --- a/src/ui/tools/node-tool.h +++ b/src/ui/tools/node-tool.h @@ -58,6 +58,7 @@ public: static const std::string prefsPath; void setup() override; + void finish() override; void set(const Inkscape::Preferences::Entry& val) override; bool root_handler(GdkEvent* event) override; |
