tapp_menu has interact_button as its parent to stop its reference being dropped. - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 57e13505daf0b09d7997709cd22550a56312b6a9 (DIR) parent 6c775df3636f87ce9c3a2ed06cc44ced052fd6a8 (HTM) 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: M lib/gui_lite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/lib/gui_lite.py b/lib/gui_lite.py t@@ -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()