2563: Add signals for all objects when active object changes

svn: r13960
This commit is contained in:
Nick Hall
2010-01-02 23:01:43 +00:00
parent e39b3b68ea
commit 6ae29de4f0
3 changed files with 146 additions and 32 deletions

View File

@ -160,12 +160,7 @@ class NavigationView(PageView):
"""
Changes the active object.
"""
if self.navigation_type() == NAVIGATION_PERSON:
if handle is None:
self.dbstate.change_active_person(None)
else:
person = self.dbstate.db.get_person_from_handle(handle)
self.dbstate.change_active_person(person)
self.dbstate.set_active(self.navigation_type(), handle)
def goto_handle(self, handle):
"""