From 3d64617ca193980a057f19aa6df3f7aefa16d43a Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sat, 29 Mar 2014 19:46:09 +0000 Subject: [PATCH] 7559: Fix bug in abandon changes and quit --- src/gen/db/write.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gen/db/write.py b/src/gen/db/write.py index eb668bc28..54df4ba4d 100644 --- a/src/gen/db/write.py +++ b/src/gen/db/write.py @@ -2027,12 +2027,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)