From e90a31ef2346b5f189056b53576ac91fc6e32110 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 25 Apr 2018 00:20:06 +0200 Subject: [PATCH] qt seed dialog, (minor) class attr -> instance attr --- gui/qt/seed_dialog.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gui/qt/seed_dialog.py b/gui/qt/seed_dialog.py index aea099f0d..e84e3376d 100644 --- a/gui/qt/seed_dialog.py +++ b/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)