From 7eb68e0c2fe43752701bcb7ae0ec3e4244866554 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 63918ceaf..880518f71 100644 --- a/gramps/gen/db/write.py +++ b/gramps/gen/db/write.py @@ -2318,12 +2318,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)