7559: Fix bug in abandon changes and quit

This commit is contained in:
Nick Hall 2014-03-29 19:51:36 +00:00
parent 3f9299a9d1
commit e0f673f937

View File

@ -2133,12 +2133,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)