Fix bad widget call

This commit is contained in:
Craig Everett 2025-08-22 15:24:32 +09:00
parent f92c5fbde0
commit b4ea4bdf10

View File

@ -590,7 +590,7 @@ deploy(State = #s{code = {Codebook, Pages}}) ->
State;
Index ->
#p{code = CodeTx} = lists:nth(Index + 1, Pages),
Source = wxTextCtrl:getValue(CodeTx),
Source = wxStyledTextCtrl:getText(CodeTx),
deploy2(State, Source)
end.