summaryrefslogtreecommitdiffstats
path: root/src/flood-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/flood-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/flood-context.cpp')
-rw-r--r--src/flood-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flood-context.cpp b/src/flood-context.cpp
index a9ca7073f..1057fd4be 100644
--- a/src/flood-context.cpp
+++ b/src/flood-context.cpp
@@ -530,7 +530,7 @@ static void do_trace(bitmap_coords_info bci, guchar *trace_px, SPDesktop *deskto
if (union_with_selection) {
desktop->messageStack()->flashF(Inkscape::WARNING_MESSAGE, ngettext("Area filled, path with <b>%d</b> node created and unioned with selection.","Area filled, path with <b>%d</b> nodes created and unioned with selection.",sp_nodes_in_path(SP_PATH(reprobj))), sp_nodes_in_path(SP_PATH(reprobj)));
selection->add(reprobj);
- sp_selected_path_union_skip_undo();
+ sp_selected_path_union_skip_undo(desktop);
} else {
desktop->messageStack()->flashF(Inkscape::WARNING_MESSAGE, ngettext("Area filled, path with <b>%d</b> node created.","Area filled, path with <b>%d</b> nodes created.",sp_nodes_in_path(SP_PATH(reprobj))), sp_nodes_in_path(SP_PATH(reprobj)));
selection->set(reprobj);