tMerge pull request #644 from wozz/raise_window - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 60bea77d1ec432fb978803a11cc2f6de1c36c295 DIR parent c24482c21a7df7e7dc9d1027a738acfa49044a7e HTML Author: ThomasV <thomasv1@gmx.de> Date: Sat, 5 Apr 2014 11:52:48 +0200 Merge pull request #644 from wozz/raise_window Fix OS X issue: window start in foreground Diffstat: M gui/qt/main_window.py | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) --- DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -113,6 +113,7 @@ class ElectrumWindow(QMainWindow): if reason == QSystemTrayIcon.DoubleClick: if self.isMinimized() or self.isHidden(): self.show() + self.raise_() else: self.hide() t@@ -201,11 +202,13 @@ class ElectrumWindow(QMainWindow): self.config.set_key('lite_mode', False, True) self.mini.hide() self.show() + self.raise_() def go_lite(self): self.config.set_key('lite_mode', True, True) self.hide() self.mini.show() + self.mini.raise_() def init_lite(self): t@@ -218,6 +221,7 @@ class ElectrumWindow(QMainWindow): sys.exit(0) self.mini = None self.show() + self.raise_() return actuator = lite_window.MiniActuator(self)