7119: Register history objects at startup
This commit is contained in:
parent
f4c871bdaf
commit
d387bfbe77
@ -401,6 +401,11 @@ class ViewManager(CLIManager):
|
||||
self.uistate = DisplayState(self.window, self.statusbar,
|
||||
self.uimanager, self)
|
||||
|
||||
# Create history objects
|
||||
for nav_type in ('Person', 'Family', 'Event', 'Place', 'Source',
|
||||
'Citation', 'Repository', 'Note', 'Media'):
|
||||
self.uistate.register(self.dbstate, nav_type, 0)
|
||||
|
||||
self.dbstate.connect('database-changed', self.uistate.db_changed)
|
||||
|
||||
self.tags = Tags(self.uistate, self.dbstate)
|
||||
|
Loading…
Reference in New Issue
Block a user