diff options
Diffstat (limited to 'src/document-undo.cpp')
| -rw-r--r-- | src/document-undo.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/document-undo.cpp b/src/document-undo.cpp index 113d09d66..9c534dd58 100644 --- a/src/document-undo.cpp +++ b/src/document-undo.cpp @@ -160,7 +160,6 @@ void Inkscape::DocumentUndo::maybeDone(SPDocument *doc, const gchar *key, const sp_repr_begin_transaction (doc->rdoc); return; } - if (key && !doc->actionkey.empty() && (doc->actionkey == key) && !doc->priv->undo.empty()) { (doc->priv->undo.back())->event = sp_repr_coalesce_log ((doc->priv->undo.back())->event, log); @@ -170,7 +169,6 @@ void Inkscape::DocumentUndo::maybeDone(SPDocument *doc, const gchar *key, const doc->priv->history_size++; doc->priv->undoStackObservers.notifyUndoCommitEvent(event); } - if ( key ) { doc->actionkey = key; } else { @@ -181,7 +179,6 @@ void Inkscape::DocumentUndo::maybeDone(SPDocument *doc, const gchar *key, const doc->setModifiedSinceSave(); sp_repr_begin_transaction (doc->rdoc); - doc->priv->commit_signal.emit(); } |
