mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 16:13:28 +02:00
Merge branch 'editmodels_js-model-list' of https://github.com/thoys/hifi
This commit is contained in:
commit
bacad6bcd2
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ QDialog* WindowScriptingInterface::createForm(const QString& title, QScriptValue
|
|||
} else if (item.property("options").isArray()) {
|
||||
QComboBox* combo = new QComboBox();
|
||||
combo->setMinimumWidth(200);
|
||||
qint32 options_count = item.property("options").property("length").toInt32();// .toJsonArray();
|
||||
qint32 options_count = item.property("options").property("length").toInt32();
|
||||
for (qint32 i = 0; i < options_count; i++) {
|
||||
combo->addItem(item.property("options").property(i).toString());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue