* src/gramps_main.py (post_load): Upgrade even if no callback.
svn: r4127
This commit is contained in:
parent
7c702ed2d3
commit
734753c196
@ -1,3 +1,6 @@
|
||||
2005-03-07 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||
* src/gramps_main.py (post_load): Upgrade even if no callback.
|
||||
|
||||
2005-03-06 Don Allingham <don@gramps-project.org>
|
||||
* src/GrampsBSDDB.py: display upgrade messages to stdout
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user