electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit f59e92f947539db8e829c96588424ea6ece4cb7c
parent a736dc305295f96aa982b706a478b39ca65d6383
Author: ThomasV <thomasv@electrum.org>
Date:   Sat, 21 Jan 2017 22:13:07 +0100

Merge pull request #2126 from kacperzuk/seed_dialog_preserve_options

Preserve checkboxes state in seed_options
Diffstat:
Mgui/qt/seed_dialog.py | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/gui/qt/seed_dialog.py b/gui/qt/seed_dialog.py @@ -58,6 +58,7 @@ class SeedLayout(QVBoxLayout): vbox = QVBoxLayout(dialog) if 'ext' in self.options: cb_ext = QCheckBox(_('Extend this seed with custom words')) + cb_ext.setChecked(self.is_ext) vbox.addWidget(cb_ext) if 'bip39' in self.options: def f(b): @@ -79,6 +80,7 @@ class SeedLayout(QVBoxLayout): self.on_edit() cb_bip39 = QCheckBox(_('BIP39 seed')) cb_bip39.toggled.connect(f) + cb_bip39.setChecked(self.is_bip39) vbox.addWidget(cb_bip39) vbox.addLayout(Buttons(OkButton(dialog))) if not dialog.exec_():