commit 51718501fd53543537d971b106dd84633f74af27
parent 8da36e3bd17cd4470f55a682ccc36fc52e8ccb2f
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 14 Sep 2017 10:25:04 +0200
add server list to setup.py
Diffstat:
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/gui/qt/__init__.py b/gui/qt/__init__.py
@@ -184,6 +184,11 @@ class ElectrumGui:
w = self.create_window_for_wallet(wallet)
if uri:
w.pay_to_URI(uri)
+ w.bring_to_top()
+ w.setWindowState(w.windowState() & ~QtCore.Qt.WindowMinimized | QtCore.Qt.WindowActive)
+
+ # this will activate the window
+ w.activateWindow()
return w
def close_window(self, window):
diff --git a/setup.py b/setup.py
@@ -71,6 +71,8 @@ setup(
},
package_data={
'electrum': [
+ 'servers.json',
+ 'servers_testnet.json',
'currencies.json',
'www/index.html',
'wordlist/*.txt',