summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/eraser-tool.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-03-04 09:51:55 +0000
committerjabiertxof <info@marker.es>2016-03-04 09:51:55 +0000
commitc6cfbcf0dfd490c9ab46b21219881f78c0af8bf1 (patch)
tree4746faaca88ca34f55a9e96d985ce526e381f1f1 /src/ui/tools/eraser-tool.cpp
parentforgot to include a file in previous commit >< (diff)
downloadinkscape-c6cfbcf0dfd490c9ab46b21219881f78c0af8bf1.tar.gz
inkscape-c6cfbcf0dfd490c9ab46b21219881f78c0af8bf1.zip
Hide with widget in delete mode of eraser tool
(bzr r14684)
Diffstat (limited to 'src/ui/tools/eraser-tool.cpp')
-rw-r--r--src/ui/tools/eraser-tool.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/tools/eraser-tool.cpp b/src/ui/tools/eraser-tool.cpp
index b34a2d3ce..edda211ca 100644
--- a/src/ui/tools/eraser-tool.cpp
+++ b/src/ui/tools/eraser-tool.cpp
@@ -449,6 +449,7 @@ bool EraserTool::root_handler(GdkEvent* event) {
ret = TRUE;
}
if ( !eraserMode ) {
+ this->accumulated->reset();
Inkscape::Rubberband::get(desktop)->move(motion_dt);
}
}