tshow groups of 5 words - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 058ad1292b59610777074d0dd5cfe5660a80f8f1 DIR parent 816495609fa3d87f452d041ca74e197a770cb8d6 HTML Author: ThomasV <thomasv@gitorious> Date: Thu, 4 Sep 2014 17:51:29 +0200 show groups of 5 words Diffstat: M gui/qt/seed_dialog.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/gui/qt/seed_dialog.py b/gui/qt/seed_dialog.py t@@ -72,6 +72,8 @@ def show_seed_box(seed, sid=None): + _("If you ever need to recover your wallet from seed, you will need both this seed and your cold seed.") + " " \ label1 = QLabel(msg+ ":") + from itertools import izip_longest + seed = '\n'.join(map(lambda x: ' '.join(x), izip_longest(*(iter(seed.split()),) * 5, fillvalue=''))) seed_text = QRTextEdit(seed) seed_text.setReadOnly(True) seed_text.setMaximumHeight(130)