First-run wallet creatorator (v0.7.0) #24

Merged
zxq9 merged 9 commits from wizard into master 2025-08-07 15:47:06 +09:00
Showing only changes of commit 42b9e9e9db - Show all commits

View File

@ -196,8 +196,8 @@ handle_event(#wx{event = #wxCommand{type = command_button_clicked},
handle_event(#wx{event = #wxCommand{type = command_listbox_doubleclicked,
commandInt = Selected}},
State = #s{wiz = none}) ->
NewState = do_open2(Selected + 1, State),
{noreply, NewState};
ok = do_open2(Selected + 1, State),
{noreply, State};
handle_event(#wx{event = #wxClose{}}, State = #s{wiz = none}) ->
ok = do_close(State),
{noreply, State};
@ -286,7 +286,8 @@ handle_button(Name, State) ->
do_open(State = #s{wallets = []}) ->
State;
do_open(State = #s{wallets = [#wr{pass = true, path = Path}]}) ->
do_open3(Path, State);
ok = do_open3(Path, State),
State;
do_open(State = #s{wallets = [#wr{pass = false, path = Path}], frame = Frame}) ->
ok =
case gd_con:open_wallet(Path, none) of