diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2016-07-24 16:51:32 +0000 |
|---|---|---|
| committer | jabiertxof <info@marker.es> | 2016-07-24 16:51:32 +0000 |
| commit | 21bb5ac09822da9d71731b7ff7eff9f03247a855 (patch) | |
| tree | b916ac10a1b07708dc7d81fd9dab68311d6f097f /src/document-undo.cpp | |
| parent | Add Text tag and update widgets code (diff) | |
| parent | Fixed a bug on roughen LPE on open paths (diff) | |
| download | inkscape-21bb5ac09822da9d71731b7ff7eff9f03247a855.tar.gz inkscape-21bb5ac09822da9d71731b7ff7eff9f03247a855.zip | |
update to trunk
(bzr r15017.1.3)
Diffstat (limited to 'src/document-undo.cpp')
| -rw-r--r-- | src/document-undo.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/document-undo.cpp b/src/document-undo.cpp index eb0ac7707..c27904ea8 100644 --- a/src/document-undo.cpp +++ b/src/document-undo.cpp @@ -196,6 +196,7 @@ void Inkscape::DocumentUndo::cancel(SPDocument *doc) if (doc->priv->partial) { sp_repr_undo_log (doc->priv->partial); + doc->emitReconstructionFinish(); sp_repr_free_log (doc->priv->partial); doc->priv->partial = NULL; } @@ -222,6 +223,8 @@ static void perform_document_update(SPDocument &doc) { doc.ensureUpToDate(); Inkscape::XML::Event *update_log=sp_repr_commit_undoable(doc.rdoc); + doc.emitReconstructionFinish(); + if (update_log != NULL) { g_warning("Document was modified while being updated after undo operation"); sp_repr_debug_print_log(update_log); @@ -322,8 +325,10 @@ gboolean Inkscape::DocumentUndo::redo(SPDocument *doc) doc->priv->sensitive = TRUE; doc->priv->seeking = false; - if (ret) + if (ret) { INKSCAPE.external_change(); + doc->emitReconstructionFinish(); + } return ret; } |
