diff options
| author | Peter Moulder <peter.moulder@monash.edu> | 2007-05-17 13:05:12 +0000 |
|---|---|---|
| committer | pjrm <pjrm@users.sourceforge.net> | 2007-05-17 13:05:12 +0000 |
| commit | edb98dfe4721a50b73755978993c0556ba7d170b (patch) | |
| tree | 1308df01d3d159e6adda5d6a5ad72f9409d950a3 /src/ui/dialog/document-properties.cpp | |
| parent | Implement object-snapping for clones (see bug #1511260) (diff) | |
| download | inkscape-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.cpp | 1 |
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")); } } |
