From 9790890e025c02b174c2689560ec4fed69ec3232 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Fri, 22 May 2015 20:45:18 +0100 Subject: [PATCH] Fix popup menu --- gramps/plugins/view/relview.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gramps/plugins/view/relview.py b/gramps/plugins/view/relview.py index a3499cda8..fcfb25bbd 100644 --- a/gramps/plugins/view/relview.py +++ b/gramps/plugins/view/relview.py @@ -1262,9 +1262,9 @@ class RelationshipView(NavigationView): if button_activated(event, _LEFT_BUTTON): self.change_active(handle) elif button_activated(event, _RIGHT_BUTTON): - myMenu = Gtk.Menu() - myMenu.append(self.build_menu_item(handle)) - myMenu.popup(None, None, None, None, event.button, event.time) + self.myMenu = Gtk.Menu() + self.myMenu.append(self.build_menu_item(handle)) + self.myMenu.popup(None, None, None, None, event.button, event.time) def build_menu_item(self, handle): person = self.dbstate.db.get_person_from_handle(handle)