diff options
Diffstat (limited to 'src/scxml/qscxmlecmascriptdatamodel.cpp')
-rw-r--r-- | src/scxml/qscxmlecmascriptdatamodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scxml/qscxmlecmascriptdatamodel.cpp b/src/scxml/qscxmlecmascriptdatamodel.cpp index 1391068..14a8b1a 100644 --- a/src/scxml/qscxmlecmascriptdatamodel.cpp +++ b/src/scxml/qscxmlecmascriptdatamodel.cpp @@ -144,7 +144,7 @@ public: dataModel.setProperty(QStringLiteral("_x"), platformVars->jsValue()); dataModel.setProperty(QStringLiteral("In"), engine->evaluate( - QStringLiteral("function(id){return _x.inState(id);}"))); + QStringLiteral("(function(id){return _x.inState(id);})"))); } void assignEvent(const QScxmlEvent &event) |