diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2012-11-01 23:14:58 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2012-11-01 23:14:58 +0000 |
| commit | 75e147ea084e8589224484ae3a5bcda75cde5fb7 (patch) | |
| tree | 318015ea61e2a783ee248aa5f60bec8d6e7fefe1 /src/ui/tool | |
| parent | Fix for 1006816 : Newly applied filter doesn't show in Filters Editor (diff) | |
| download | inkscape-75e147ea084e8589224484ae3a5bcda75cde5fb7.tar.gz inkscape-75e147ea084e8589224484ae3a5bcda75cde5fb7.zip | |
remove flash path when nodetool eventcontext is destroyed. fixes bug for persistent flashpath when flashtime is set to zero (=infinite) and pressing space to instantly go to select tool while flashpath is still being shown.
(bzr r11859)
Diffstat (limited to 'src/ui/tool')
| -rw-r--r-- | src/ui/tool/node-tool.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/tool/node-tool.cpp b/src/ui/tool/node-tool.cpp index b532c8b65..7b6502ec3 100644 --- a/src/ui/tool/node-tool.cpp +++ b/src/ui/tool/node-tool.cpp @@ -197,6 +197,10 @@ void ink_node_tool_dispose(GObject *object) nt->enableGrDrag(false); + if (nt->flash_tempitem) { + nt->desktop->remove_temporary_canvasitem(nt->flash_tempitem); + } + nt->_selection_changed_connection.disconnect(); nt->_selection_modified_connection.disconnect(); nt->_mouseover_changed_connection.disconnect(); |
