I guess this should work with seedless wallets

This commit is contained in:
ThomasV 2012-06-14 16:56:20 +02:00
parent 4e71483975
commit 0340b1868a
1 changed files with 3 additions and 2 deletions

View File

@ -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)