summaryrefslogtreecommitdiffstats
path: root/src/eraser-context.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-08-15 19:53:10 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-08-15 19:53:10 +0000
commitc8d377f38e95972caeae1f489de7f87914ee35ab (patch)
tree54b807614372cbb1227ac59ea559d8f9595ea0ba /src/eraser-context.cpp
parentCorrect fix for Esc and Shift+Z in pencil tool (diff)
downloadinkscape-c8d377f38e95972caeae1f489de7f87914ee35ab.tar.gz
inkscape-c8d377f38e95972caeae1f489de7f87914ee35ab.zip
Eliminate more of SP_ACTIVE_DESKTOP
(bzr r6633)
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.