From 266a2936bfc2f907f5ce093070a105b39f9f39ca Mon Sep 17 00:00:00 2001
From: Benny Malengier <benny.malengier@gramps-project.org>
Date: Wed, 22 May 2013 11:07:23 +0000
Subject: [PATCH] 6325: Cannot right-click on tables in Quick Views

svn: r22406
---
 gramps/gui/plug/quick/_quicktable.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gramps/gui/plug/quick/_quicktable.py b/gramps/gui/plug/quick/_quicktable.py
index 18630e148..be90a237e 100644
--- a/gramps/gui/plug/quick/_quicktable.py
+++ b/gramps/gui/plug/quick/_quicktable.py
@@ -124,7 +124,8 @@ class QuickTable(SimpleTable):
         # you need index, treeview, path, button_code,
         # func, and event_time
         if index is not None:
-            popup = Gtk.Menu()
+            self.popup = Gtk.Menu()
+            popup = self.popup
             if (index is not None and self._link[index]):
             # See details (edit, etc):
                 objclass, handle = self._link[index]