Browse Source

Unminimize and raise an existing window

if its wallet is requested.
283
Neil Booth 9 years ago
parent
commit
2b7a555f0f
  1. 3
      gui/qt/__init__.py

3
gui/qt/__init__.py

@ -113,6 +113,9 @@ class ElectrumGui:
path = config.get_wallet_path()
for w in self.windows:
if w.config.get_wallet_path() == path:
# Un-minimize the window and raise it
w.setWindowState(w.windowState() & ~QtCore.Qt.WindowMinimized | QtCore.Qt.WindowActive)
w.activateWindow()
break
else:
w = ElectrumWindow(config, self.network, self)

Loading…
Cancel
Save