Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 1 file). Show all
Unified · Split
| @@ -266,10 +266,10 @@ QScriptValue WindowScriptingInterface::doPeekNonBlockingFormResult(QScriptValue · 265 unmodified lines | |||
| 266 | } else if (item.property("options").isArray()) { | 266 | } else if (item.property("options").isArray()) { |
| 267 | c += 1; | 267 | c += 1; |
| 268 | item.setProperty("value", | 268 | item.setProperty("value", |
| 269 | _combos.at(c)->currentIndex() < item.property("options").property("length").toInt32() ? | 269 | _combos.at(c)->currentIndex() < item.property("options").property("length").toInt32() ? |
| 270 | item.property("options").property(_combos.at(c)->currentIndex()) : | 270 | item.property("options").property(_combos.at(c)->currentIndex()) : |
| 271 | array.engine()->undefinedValue() | 271 | array.engine()->undefinedValue() |
| 272 | ); | 272 | ); |
| 273 | _form.setProperty(i, item); | 273 | _form.setProperty(i, item); |
| 274 | } else { | 274 | } else { |
| 275 | e += 1; | 275 | e += 1; |
| @@ -323,10 +323,10 @@ QScriptValue WindowScriptingInterface::doGetNonBlockingFormResult(QScriptValue a · 47 unmodified lines | |||
| 323 | } else if (item.property("options").isArray()) { | 323 | } else if (item.property("options").isArray()) { |
| 324 | c += 1; | 324 | c += 1; |
| 325 | item.setProperty("value", | 325 | item.setProperty("value", |
| 326 | _combos.at(c)->currentIndex() < item.property("options").property("length").toInt32() ? | 326 | _combos.at(c)->currentIndex() < item.property("options").property("length").toInt32() ? |
| 327 | item.property("options").property(_combos.at(c)->currentIndex()) : | 327 | item.property("options").property(_combos.at(c)->currentIndex()) : |
| 328 | array.engine()->undefinedValue() | 328 | array.engine()->undefinedValue() |
| 329 | ); | 329 | ); |
| 330 | _form.setProperty(i, item); | 330 | _form.setProperty(i, item); |
| 331 | } else { | 331 | } else { |
| 332 | e += 1; | 332 | e += 1; |
| @@ -401,10 +401,10 @@ QScriptValue WindowScriptingInterface::showForm(const QString& title, QScriptVal · 68 unmodified lines | |||
| 401 | } else if (item.property("options").isArray()) { | 401 | } else if (item.property("options").isArray()) { |
| 402 | c += 1; | 402 | c += 1; |
| 403 | item.setProperty("value", | 403 | item.setProperty("value", |
| 404 | _combos.at(c)->currentIndex() < item.property("options").property("length").toInt32() ? | 404 | _combos.at(c)->currentIndex() < item.property("options").property("length").toInt32() ? |
| 405 | item.property("options").property(_combos.at(c)->currentIndex()) : | 405 | item.property("options").property(_combos.at(c)->currentIndex()) : |
| 406 | form.engine()->undefinedValue() | 406 | form.engine()->undefinedValue() |
| 407 | ); | 407 | ); |
| 408 | form.setProperty(i, item); | 408 | form.setProperty(i, item); |
| 409 | } else { | 409 | } else { |
| 410 | e += 1; | 410 | e += 1; |