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

This commit is contained in:
SomberNight 2018-04-25 00:20:06 +02:00
parent eb64571341
commit e90a31ef23
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

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