summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/eraser-tool.cpp
diff options
context:
space:
mode:
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);
}
}