diff --git a/src/mcedit2/command.py b/src/mcedit2/command.py index 9d2cdac..b59fcee 100644 --- a/src/mcedit2/command.py +++ b/src/mcedit2/command.py @@ -25,7 +25,9 @@ class SimplePerformCommand(QtGui.QUndoCommand): if not self.performed: self.editorSession.beginUndo() self.perform() - self.editorSession.commitUndo() + task = self.editorSession.commitUndoIter() + showProgress(QtGui.qApp.tr("Writing undo history"), task) + else: self.editorSession.undoForward()