Browse Source

qt seed dialog, (minor) class attr -> instance attr

3.2.x
SomberNight 7 years ago
parent
commit
e90a31ef23
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 7
      gui/qt/seed_dialog.py

7
gui/qt/seed_dialog.py

@ -51,9 +51,6 @@ def seed_warning_msg(seed):
class SeedLayout(QVBoxLayout):
#options
is_bip39 = False
is_ext = False
def seed_options(self):
dialog = QDialog()
@ -124,6 +121,10 @@ class SeedLayout(QVBoxLayout):
hbox.addStretch(1)
self.seed_type_label = QLabel('')
hbox.addWidget(self.seed_type_label)
# options
self.is_bip39 = False
self.is_ext = False
if options:
opt_button = EnterButton(_('Options'), self.seed_options)
hbox.addWidget(opt_button)

Loading…
Cancel
Save