summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/document-properties.cpp
diff options
context:
space:
mode:
authorPeter Moulder <peter.moulder@monash.edu>2007-05-17 13:05:12 +0000
committerpjrm <pjrm@users.sourceforge.net>2007-05-17 13:05:12 +0000
commitedb98dfe4721a50b73755978993c0556ba7d170b (patch)
tree1308df01d3d159e6adda5d6a5ad72f9409d950a3 /src/ui/dialog/document-properties.cpp
parentImplement object-snapping for clones (see bug #1511260) (diff)
downloadinkscape-edb98dfe4721a50b73755978993c0556ba7d170b.tar.gz
inkscape-edb98dfe4721a50b73755978993c0556ba7d170b.zip
Fix a couple of unannotated transactions causing g_warning from finish_incomplete_transaction. (Thanks to johanengelen for help with this.)
(bzr r3019)
Diffstat (limited to 'src/ui/dialog/document-properties.cpp')
-rw-r--r--src/ui/dialog/document-properties.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp
index 4a57c6bfc..33193bbba 100644
--- a/src/ui/dialog/document-properties.cpp
+++ b/src/ui/dialog/document-properties.cpp
@@ -564,6 +564,7 @@ DocumentProperties::onRemoveGrid()
// delete the grid that corresponds with the selected tab
// when the grid is deleted from SVG, the SPNamedview handler automatically deletes the object, so found_grid becomes an invalid pointer!
found_grid->repr->parent()->removeChild(found_grid->repr);
+ sp_document_done(sp_desktop_document(dt), SP_VERB_DIALOG_NAMEDVIEW, _("Remove grid"));
}
}