* src/GrampsDb/_GrampsBSDDB.py (update_empty,update_real): Add
functions for updating the display; (gramps_upgrade): Set up display updaters; (gramps_upgrade_9): Reflect progess of db upgrade. (low_level_9): Return status and length of the db. (_table_low_level_9): Return table length if successful. * src/ViewManager.py (post_load): Remove database upgrade, since db.load takes care of upgrade. svn: r6143
This commit is contained in:
@ -801,11 +801,6 @@ class ViewManager:
|
||||
|
||||
self.setup_bookmarks()
|
||||
|
||||
if self.state.db.need_upgrade():
|
||||
if callback:
|
||||
callback(_('Upgrading database...'))
|
||||
self.state.db.gramps_upgrade()
|
||||
|
||||
self.state.db.request_rebuild()
|
||||
|
||||
Config.save_last_file(name)
|
||||
|
Reference in New Issue
Block a user