Browse Source

Merge pull request #467 from thgh/trayfix

Fix: hide tray icon on close
283
ThomasV 11 years ago
parent
commit
6e54d2206c
  1. 3
      gui/qt/lite_window.py
  2. 1
      gui/qt/main_window.py

3
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):

1
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()

Loading…
Cancel
Save