From cb8ccb1c1c68186e7decb365f59a53c711b735f7 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Sun, 27 Dec 2020 20:12:14 +0100 Subject: [PATCH] Fixing bug with property for comboxes --- qml/ObjectLists.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qml/ObjectLists.qml b/qml/ObjectLists.qml index a91ae70..8d7055e 100644 --- a/qml/ObjectLists.qml +++ b/qml/ObjectLists.qml @@ -301,6 +301,7 @@ ListView { height: visible ? implicitHeight : 0 width: parent.width text: parent.label + checked: visible ? objEditor.obj[modelData[0]] : false onClicked: { objEditor.obj[modelData[0]] = this.checked @@ -308,11 +309,11 @@ ListView { objectListList.update() } } - + ComboBoxSetting { id: customPropCombo width: dlgProperties.width - height: visible ? implicitHeight : 0 + height: visible ? 30 : 0 label: parent.label // True to select an object of type, false for enums. property bool selectObjMode: paramTypeIn(modelData[1], ['ObjectType'])