7559: Fix bug in abandon changes and quit

This commit is contained in:
Nick Hall 2014-03-29 19:46:09 +00:00
parent ee80c46747
commit 3d64617ca1

View File

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