ThomasV 10 years ago
parent
commit
fde5dd577a
  1. 11
      gui/qt/installwizard.py

11
gui/qt/installwizard.py

@ -37,30 +37,23 @@ class InstallWizard(QDialog):
self.setMaximumSize(575, 400)
self.setWindowTitle('Electrum')
self.connect(self, QtCore.SIGNAL('accept'), self.accept)
self.stack = QStackedLayout()
self.setLayout(self.stack)
def set_layout(self, layout):
w = QWidget()
w.setLayout(layout)
self.stack.setCurrentIndex(self.stack.addWidget(w))
self.stack.addWidget(w)
self.stack.setCurrentWidget(w)
def restore_or_create(self):
vbox = QVBoxLayout()
main_label = QLabel(_("Electrum could not find an existing wallet."))
vbox.addWidget(main_label)
grid = QGridLayout()
grid.setSpacing(5)
gb1 = QGroupBox(_("What do you want to do?"))
vbox.addWidget(gb1)
b1 = QRadioButton(gb1)
b1.setText(_("Create new wallet"))
b1.setChecked(True)

Loading…
Cancel
Save