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