* 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>
|
2005-03-06 Don Allingham <don@gramps-project.org>
|
||||||
* src/GrampsBSDDB.py: display upgrade messages to stdout
|
* src/GrampsBSDDB.py: display upgrade messages to stdout
|
||||||
|
|
||||||
|
@ -1584,8 +1584,9 @@ class Gramps:
|
|||||||
self.db.set_researcher(owner)
|
self.db.set_researcher(owner)
|
||||||
|
|
||||||
self.setup_bookmarks()
|
self.setup_bookmarks()
|
||||||
if callback and self.db.need_upgrade():
|
if self.db.need_upgrade():
|
||||||
callback(_('Upgrading database...'))
|
if callback:
|
||||||
|
callback(_('Upgrading database...'))
|
||||||
self.db.upgrade()
|
self.db.upgrade()
|
||||||
|
|
||||||
GrampsKeys.save_last_file(name)
|
GrampsKeys.save_last_file(name)
|
||||||
|
Loading…
Reference in New Issue
Block a user