7559: Fix bug in abandon changes and quit
This commit is contained in:
parent
ee80c46747
commit
3d64617ca1
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user