From fff1f21ab3ca3913e2b4ab452e18a5d28fb674be Mon Sep 17 00:00:00 2001 From: Vassilii Khachaturov Date: Sun, 15 Dec 2013 16:27:22 +0200 Subject: [PATCH] 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. --- src/gui/views/navigationview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/views/navigationview.py b/src/gui/views/navigationview.py index 1efdc4e8c..496825488 100644 --- a/src/gui/views/navigationview.py +++ b/src/gui/views/navigationview.py @@ -82,7 +82,7 @@ class NavigationView(PageView): def __init__(self, title, pdata, state, uistate, bookmarks, bm_type, nav_group): PageView.__init__(self, title, pdata, state, uistate) self.bookmarks = bm_type(self.dbstate, self.uistate, bookmarks, - self.goto_handle) + self.change_active) self.fwd_action = None self.back_action = None