7559: Fix bug in abandon changes and quit

This commit is contained in:
Nick Hall 2014-03-29 19:51:36 +00:00
parent 53c878aa08
commit 7eb68e0c2f

View File

@ -2318,12 +2318,10 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback):
self.undo_history_callback()
def undo(self, update_history=True):
self.undodb.undo(update_history)
return
return self.undodb.undo(update_history)
def redo(self, update_history=True):
self.undodb.redo(update_history)
return
return self.undodb.redo(update_history)
def gramps_upgrade(self, callback=None):
UpdateCallback.__init__(self, callback)