commit 242ee61ef407efd4e755c8fee88403d06c977305
parent 6bbde8389d01c10a31e379f227c8b921b21a6dff
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 29 Sep 2015 11:08:16 +0200
restore previously deleted winpos-qt
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -139,6 +139,11 @@ class ElectrumWindow(QMainWindow, PrintError):
tabs.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
self.setCentralWidget(tabs)
+ try:
+ self.setGeometry(*self.config.get("winpos-qt"))
+ except:
+ self.setGeometry(100, 100, 840, 400)
+
if self.config.get("is_maximized"):
self.showMaximized()