Skip to content

Commit 5624953

Browse files
committed
Adjust visibility of BIP-39 in Backup/Create controls
1 parent 2520cfc commit 5624953

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

slip39/gui/main.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -211,17 +211,17 @@ def groups_layout(
211211
] + [
212212
[
213213
# SLIP-39 only available in Recovery; SLIP-39 Passphrase only in Pro; BIP-39 and Fixed Hex only in Pro
214-
sg.Frame( 'Seed Source', [
214+
sg.Frame( 'Seed Source: Input or Create your Seed Entropy here', [
215215
[
216-
sg.Text( "Random:" if not LO_BAK else "Source:", **T_hue( T_kwds, 0/20 )),
216+
sg.Text( "Random:" if not LO_BAK else "Source:", visible=LO_CRE, **T_hue( T_kwds, 0/20 )),
217217
sg.Radio( "128-bit", "SD", key='-SD-128-RND-', default=LO_CRE,
218218
visible=LO_CRE, **T_hue( B_kwds, 0/20 )),
219219
sg.Radio( "256-bit", "SD", key='-SD-256-RND-', visible=LO_CRE, **T_hue( B_kwds, 0/20 )),
220220
sg.Radio( "512-bit", "SD", key='-SD-512-RND-', visible=LO_PRO, **T_hue( B_kwds, 0/20 )),
221-
sg.Text( "Recover:", visible=LO_REC, **T_hue( T_kwds, 2/20 )),
221+
sg.Text( "Recover:", visible=LO_BAK, **T_hue( T_kwds, 2/20 )),
222222
sg.Radio( "SLIP-39", "SD", key='-SD-SLIP-', visible=LO_REC, **T_hue( B_kwds, 2/20 )),
223223
sg.Radio( "BIP-39", "SD", key='-SD-BIP-', default=LO_BAK,
224-
visible=LO_REC or LO_BAK,
224+
visible=LO_BAK or LO_CRE,
225225
**T_hue( B_kwds, 2/20 )),
226226
sg.Radio( "BIP-39 Seed", "SD", key='-SD-BIP-SEED-', visible=LO_PRO, **T_hue( B_kwds, 2/20 )),
227227
sg.Checkbox( 'Passphrase',
@@ -282,7 +282,7 @@ def groups_layout(
282282
]
283283
] + [
284284
[
285-
sg.Frame( 'Secret Seed & SLIP-39 Recovery Groups', [
285+
sg.Frame( 'Seed Secret & SLIP-39 Recovery Groups', [
286286
[
287287
sg.Text( "Seed Secret: ", size=prefix, **T_kwds ),
288288
sg.Text( "", key='-SEED-', size=inlong, **T_kwds ),

0 commit comments

Comments
 (0)