Skip to content

Commit

Permalink
Fix GetButtonCode block generator for Python(TRIK)
Browse files Browse the repository at this point in the history
  • Loading branch information
iakov committed Nov 8, 2023
1 parent 60bf9c5 commit 8720120
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ GetButtonCodeGenerator::GetButtonCodeGenerator(const qrRepo::RepoApi &repo
, const qReal::Id &id
, QObject *parent)
: BindingGenerator(repo, customizer, id, "wait/buttonCode.t"
, { Binding::createDirect("@@VARIABLE@@", "Variable")
, { Binding::createConverting("@@VARIABLE@@", "Variable"
, customizer.factory()->functionBlockConverter(id, "Variable"))
, Binding::createConverting("@@WAIT@@", "Wait"
, customizer.factory()->boolPropertyConverter(id, "Wait", false)) }
, parent)
Expand Down

0 comments on commit 8720120

Please sign in to comment.