7119: Register history objects at startup
This commit is contained in:
parent
26972a098b
commit
24a7d44b43
@ -404,6 +404,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