summaryrefslogtreecommitdiffstats
path: root/src/eraser-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/eraser-context.cpp')
-rw-r--r--src/eraser-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eraser-context.cpp b/src/eraser-context.cpp
index bec3326d6..ccbb87790 100644
--- a/src/eraser-context.cpp
+++ b/src/eraser-context.cpp
@@ -771,7 +771,7 @@ set_to_accumulated(SPEraserContext *dc)
selection->set(item);
selection->add(dup);
- sp_selected_path_diff_skip_undo();
+ sp_selected_path_diff_skip_undo(desktop);
workDone = true; // TODO set this only if something was cut.
if ( !selection->isEmpty() ) {
// If the item was not completely erased, track the new remainder.