7229: change active person upon a bookmark select
NavigationView: register self.change_active, not self.goto_handle as the callback when initializing self.bookmarks, as suggested by Nick Hall.
This commit is contained in:
parent
c7c0b2c6bd
commit
fff1f21ab3
@ -82,7 +82,7 @@ class NavigationView(PageView):
|
|||||||
def __init__(self, title, pdata, state, uistate, bookmarks, bm_type, nav_group):
|
def __init__(self, title, pdata, state, uistate, bookmarks, bm_type, nav_group):
|
||||||
PageView.__init__(self, title, pdata, state, uistate)
|
PageView.__init__(self, title, pdata, state, uistate)
|
||||||
self.bookmarks = bm_type(self.dbstate, self.uistate, bookmarks,
|
self.bookmarks = bm_type(self.dbstate, self.uistate, bookmarks,
|
||||||
self.goto_handle)
|
self.change_active)
|
||||||
|
|
||||||
self.fwd_action = None
|
self.fwd_action = None
|
||||||
self.back_action = None
|
self.back_action = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user