Fix bug in undo history dialog
svn: r20755
This commit is contained in:
1 parent
222f7bc1c8
commit
987701c5fc
1 file changed
+1
-1
@@ -119,7 +119,7 @@ class UndoHistory(ManagedWindow):
|
||||
|
||||
def _selection_changed(self, obj):
|
||||
(model, node) = self.selection.get_selected()
|
||||
if not node:
|
||||
if not node or len(self.model) == 1:
|
||||
return
|
||||
path = self.model.get_path(node)
|
||||
start = min(path[0], self.undodb.undo_count)
|
||||
|
||||
Reference in new issue
Block a user