commit 57e13505daf0b09d7997709cd22550a56312b6a9
parent 6c775df3636f87ce9c3a2ed06cc44ced052fd6a8
Author: Amir Taaki <genjix@riseup.net>
Date: Tue, 3 Jul 2012 14:25:28 +0200
app_menu has interact_button as its parent to stop its reference being dropped.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/gui_lite.py b/lib/gui_lite.py
@@ -87,7 +87,7 @@ class MiniWindow(QDialog):
interact_button = IconButton("data/icons/interact.png")
interact_button.setObjectName("interact_button")
- app_menu = QMenu()
+ app_menu = QMenu(interact_button)
report_action = app_menu.addAction(_("&Report Bug"))
about_action = app_menu.addAction(_("&About Electrum"))
app_menu.addSeparator()