From 0340b1868a10a79b8181f6d1331837a878c53e9d Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 14 Jun 2012 16:56:20 +0200 Subject: [PATCH] I guess this should work with seedless wallets --- lib/gui_qt.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/gui_qt.py b/lib/gui_qt.py index 4239e7e6..ecfad22e 100644 --- a/lib/gui_qt.py +++ b/lib/gui_qt.py @@ -212,8 +212,9 @@ class ElectrumWindow(QMainWindow): # dark magic fix by flatfly; https://bitcointalk.org/index.php?topic=73651.msg959913#msg959913 if platform.system() == 'Windows': - tabs.setCurrentIndex (2) - tabs.setCurrentIndex (3) + n = 2 if self.wallet.seed else 1 + tabs.setCurrentIndex (n) + tabs.setCurrentIndex (n+1) tabs.setCurrentIndex (0)