Code

add missing undo transaction for Ctrl+click
authorbuliabyak <buliabyak@users.sourceforge.net>
Sat, 31 Mar 2007 16:49:26 +0000 (16:49 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sat, 31 Mar 2007 16:49:26 +0000 (16:49 +0000)
src/flood-context.cpp

index 3d6bc1272923be5434e4ab64e0e5303591fc8298..21778eda9896845aad872623671caa111e91f878 100644 (file)
@@ -762,6 +762,7 @@ static gint sp_flood_context_item_handler(SPEventContext *event_context, SPItem
             Inkscape::XML::Node *pathRepr = SP_OBJECT_REPR(item);
             /* Set style */
             sp_desktop_apply_style_tool (desktop, pathRepr, "tools.paintbucket", false);
+            sp_document_done(sp_desktop_document(desktop), SP_VERB_CONTEXT_PAINTBUCKET, _("Set style on object"));
             ret = TRUE;
         }
         break;