7119: Register history objects at startup
This commit is contained in:
parent
f8f4ab1751
commit
64d87eaeb2
@ -393,6 +393,11 @@ class ViewManager(CLIManager):
|
||||
self.window, self.statusbar, self.progress, self.warnbtn,
|
||||
self.uimanager, self.progress_monitor, 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…
x
Reference in New Issue
Block a user