electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 6e54d2206ce6ce0d8dab8485eab6c21ac7d232c8
parent 46fe3dd185a0d68f9d8a7ec2ebdc135e7119639e
Author: ThomasV <thomasv1@gmx.de>
Date:   Thu, 28 Nov 2013 00:43:23 -0800

Merge pull request #467 from thgh/trayfix

Fix: hide tray icon on close
Diffstat:
Mgui/qt/lite_window.py | 3+--
Mgui/qt/main_window.py | 1+
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gui/qt/lite_window.py b/gui/qt/lite_window.py @@ -355,8 +355,7 @@ class MiniWindow(QDialog): def closeEvent(self, event): g = self.geometry() self.config.set_key("winpos-lite", [g.left(),g.top(),g.width(),g.height()],True) - - super(MiniWindow, self).closeEvent(event) + self.actuator.g.closeEvent(event) qApp.quit() def set_payment_fields(self, dest_address, amount): diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -2137,6 +2137,7 @@ class ElectrumWindow(QMainWindow): NetworkDialog(self.wallet.network, self.config, self).do_exec() def closeEvent(self, event): + self.tray.hide() g = self.geometry() self.config.set_key("winpos-qt", [g.left(),g.top(),g.width(),g.height()], True) self.save_column_widths()