diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 537485d0e..a9271abd5 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2005-03-07 Alex Roitman + * src/gramps_main.py (post_load): Upgrade even if no callback. + 2005-03-06 Don Allingham * src/GrampsBSDDB.py: display upgrade messages to stdout diff --git a/gramps2/src/gramps_main.py b/gramps2/src/gramps_main.py index 13e9c9c5b..61a16875d 100755 --- a/gramps2/src/gramps_main.py +++ b/gramps2/src/gramps_main.py @@ -1584,8 +1584,9 @@ class Gramps: self.db.set_researcher(owner) self.setup_bookmarks() - if callback and self.db.need_upgrade(): - callback(_('Upgrading database...')) + if self.db.need_upgrade(): + if callback: + callback(_('Upgrading database...')) self.db.upgrade() GrampsKeys.save_last_file(name)