diff --git a/src/DataViews/GrampletView.py b/src/DataViews/GrampletView.py index 9e6ac1ebb..60398947f 100644 --- a/src/DataViews/GrampletView.py +++ b/src/DataViews/GrampletView.py @@ -437,6 +437,7 @@ class Gramplet(object): self.gui.uistate, 'filterbyname', handle) + return True elif link_type == 'PersonList': if event.button == 1: # left mouse if event.type == gtk.gdk._2BUTTON_PRESS: # double diff --git a/src/Simple/_SimpleTable.py b/src/Simple/_SimpleTable.py index bab97f3d4..5795d7c73 100644 --- a/src/Simple/_SimpleTable.py +++ b/src/Simple/_SimpleTable.py @@ -82,6 +82,7 @@ class SimpleTable: index = store.get_value(node, 0) # index if self.__callback_leftdouble: self.__callback_leftdouble(store.get_value(node, 1)) + return True elif self.__link[index]: objclass, handle = self.__link[index] if objclass == 'Person': @@ -143,7 +144,10 @@ class SimpleTable: if not node: return index = store.get_value(node, 0) # index - if self.__link[index]: + if self.__callback_leftclick: + self.__callback_leftclick(store.get_value(node, 1)) + return True + elif self.__link[index]: objclass, handle = self.__link[index] if objclass == 'Person': person = self.access.dbase.get_person_from_handle(handle)