1
0

spawn both guis at start. clicking expand hides the simple one, shows the expert one.

This commit is contained in:
Amir Taaki
2012-06-29 07:26:52 +02:00
parent eda5672344
commit ba6e9417ed
4 changed files with 23 additions and 17 deletions

View File

@@ -187,7 +187,7 @@ class ElectrumWindow(QMainWindow):
def __init__(self, wallet):
QMainWindow.__init__(self)
self.wallet = wallet
self.wallet.gui_callback = self.update_callback
self.wallet.register_callback(self.update_callback)
self.funds_error = False
self.completions = QStringListModel()
@@ -207,7 +207,6 @@ class ElectrumWindow(QMainWindow):
title = 'Electrum ' + self.wallet.electrum_version + ' - ' + self.wallet.path
if not self.wallet.seed: title += ' [seedless]'
self.setWindowTitle( title )
self.show()
QShortcut(QKeySequence("Ctrl+W"), self, self.close)
QShortcut(QKeySequence("Ctrl+Q"), self, self.close)
@@ -1490,5 +1489,6 @@ class ElectrumGui():
w.app = self.app
w.connect_slots(s)
w.update_wallet()
w.show()
self.app.exec_()