Fix undoBackward returning the wrong RevisionChanges

This commit is contained in:
David Vierra 2015-06-08 00:40:51 -10:00
parent 0f7488f88a
commit bc50b9c039

View File

@ -716,7 +716,7 @@ class EditorSession(QtCore.QObject):
def undoBackward(self):
self.worldEditor.undo()
changes = self.worldEditor.getRevisionChanges(self.currentRevision-1, self.currentRevision)
changes = self.worldEditor.getRevisionChanges(self.currentRevision, self.currentRevision+1)
self.revisionChanged.emit(changes)
def gotoRevision(self, index):