* src/ViewManager.py (post_load): Request interface rebuild after upgrading the database
svn: r5654
This commit is contained in:
parent
daafb5af19
commit
e82c2c2084
@ -1,5 +1,6 @@
|
||||
2006-01-02 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||
* src/PedView.py: Show marriage data
|
||||
* src/ViewManager.py (post_load): Request interface rebuild after upgrading the database
|
||||
|
||||
2006-01-01 Eero Tamminen <eerot@sf>
|
||||
* doc/gramps.1.in: nroff and a couple of typo fixes
|
||||
|
@ -714,7 +714,6 @@ class ViewManager:
|
||||
return self.post_load(name,callback)
|
||||
|
||||
def post_load(self,name,callback=None):
|
||||
self.state.db.request_rebuild()
|
||||
if not self.state.db.version_supported():
|
||||
raise Errors.FileVersionError(
|
||||
"The database version is not supported by this "
|
||||
@ -739,6 +738,8 @@ class ViewManager:
|
||||
callback(_('Upgrading database...'))
|
||||
self.state.db.gramps_upgrade()
|
||||
|
||||
self.state.db.request_rebuild()
|
||||
|
||||
GrampsKeys.save_last_file(name)
|
||||
|
||||
self.relationship = self.RelClass(self.state.db)
|
||||
|
Loading…
Reference in New Issue
Block a user