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 | 266 | } else if (item.property("options").isArray()) { |
| 267 | 267 | c += 1; |
| 268 | 268 | item.setProperty("value", |
| 269 | − _combos.at(c)->currentIndex() < item.property("options").property("length").toInt32() ? | |
| 270 | − item.property("options").property(_combos.at(c)->currentIndex()) : | |
| 271 | − array.engine()->undefinedValue() | |
| 272 | − ); | |
| 269 | + _combos.at(c)->currentIndex() < item.property("options").property("length").toInt32() ? | |
| 270 | + item.property("options").property(_combos.at(c)->currentIndex()) : | |
| 271 | + array.engine()->undefinedValue() | |
| 272 | + ); | |
| 273 | 273 | _form.setProperty(i, item); |
| 274 | 274 | } else { |
| 275 | 275 | e += 1; |
| @@ -323,10 +323,10 @@ QScriptValue WindowScriptingInterface::doGetNonBlockingFormResult(QScriptValue a · 47 unmodified lines | ||
| 323 | 323 | } else if (item.property("options").isArray()) { |
| 324 | 324 | c += 1; |
| 325 | 325 | item.setProperty("value", |
| 326 | − _combos.at(c)->currentIndex() < item.property("options").property("length").toInt32() ? | |
| 327 | − item.property("options").property(_combos.at(c)->currentIndex()) : | |
| 328 | − array.engine()->undefinedValue() | |
| 329 | − ); | |
| 326 | + _combos.at(c)->currentIndex() < item.property("options").property("length").toInt32() ? | |
| 327 | + item.property("options").property(_combos.at(c)->currentIndex()) : | |
| 328 | + array.engine()->undefinedValue() | |
| 329 | + ); | |
| 330 | 330 | _form.setProperty(i, item); |
| 331 | 331 | } else { |
| 332 | 332 | e += 1; |
| @@ -401,10 +401,10 @@ QScriptValue WindowScriptingInterface::showForm(const QString& title, QScriptVal · 68 unmodified lines | ||
| 401 | 401 | } else if (item.property("options").isArray()) { |
| 402 | 402 | c += 1; |
| 403 | 403 | item.setProperty("value", |
| 404 | − _combos.at(c)->currentIndex() < item.property("options").property("length").toInt32() ? | |
| 405 | − item.property("options").property(_combos.at(c)->currentIndex()) : | |
| 406 | − form.engine()->undefinedValue() | |
| 407 | − ); | |
| 404 | + _combos.at(c)->currentIndex() < item.property("options").property("length").toInt32() ? | |
| 405 | + item.property("options").property(_combos.at(c)->currentIndex()) : | |
| 406 | + form.engine()->undefinedValue() | |
| 407 | + ); | |
| 408 | 408 | form.setProperty(i, item); |
| 409 | 409 | } else { |
| 410 | 410 | e += 1; |