diff --git a/gramps/gui/editors/displaytabs/embeddedlist.py b/gramps/gui/editors/displaytabs/embeddedlist.py index 49b85075a..818206b22 100644 --- a/gramps/gui/editors/displaytabs/embeddedlist.py +++ b/gramps/gui/editors/displaytabs/embeddedlist.py @@ -107,10 +107,13 @@ class EmbeddedList(ButtonTab): #ref = self.get_selected() #if ref: self.right_click(obj, event) + return True elif event.type == Gdk.EventType.BUTTON_PRESS and event.button == 2: fun = self.get_middle_click() if fun: fun() + return True + return False def get_popup_menu_items(self): """ diff --git a/gramps/gui/editors/displaytabs/groupembeddedlist.py b/gramps/gui/editors/displaytabs/groupembeddedlist.py index 1231290e7..e6e2dc305 100644 --- a/gramps/gui/editors/displaytabs/groupembeddedlist.py +++ b/gramps/gui/editors/displaytabs/groupembeddedlist.py @@ -113,10 +113,13 @@ class GroupEmbeddedList(EmbeddedList): if obj and obj[1]: self._tmpgroup = obj[0] self.right_click(obj[1], event) + return True elif event.type == Gdk.EventType.BUTTON_PRESS and event.button == 2: fun = self.get_middle_click() if fun: fun() + return True + return False def is_empty(self): """