From e0f673f937e84ca5a10fba5c01a4437b5414ca72 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sat, 29 Mar 2014 19:51:36 +0000 Subject: [PATCH] 7559: Fix bug in abandon changes and quit --- gramps/gen/db/write.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gramps/gen/db/write.py b/gramps/gen/db/write.py index 9e5793f0a..3b8e204d4 100644 --- a/gramps/gen/db/write.py +++ b/gramps/gen/db/write.py @@ -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)