Fixing bug with property for comboxes
This commit is contained in:
parent
f30bea5006
commit
cb8ccb1c1c
1 changed files with 3 additions and 2 deletions
|
@ -301,6 +301,7 @@ ListView {
|
||||||
height: visible ? implicitHeight : 0
|
height: visible ? implicitHeight : 0
|
||||||
width: parent.width
|
width: parent.width
|
||||||
text: parent.label
|
text: parent.label
|
||||||
|
|
||||||
checked: visible ? objEditor.obj[modelData[0]] : false
|
checked: visible ? objEditor.obj[modelData[0]] : false
|
||||||
onClicked: {
|
onClicked: {
|
||||||
objEditor.obj[modelData[0]] = this.checked
|
objEditor.obj[modelData[0]] = this.checked
|
||||||
|
@ -308,11 +309,11 @@ ListView {
|
||||||
objectListList.update()
|
objectListList.update()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ComboBoxSetting {
|
ComboBoxSetting {
|
||||||
id: customPropCombo
|
id: customPropCombo
|
||||||
width: dlgProperties.width
|
width: dlgProperties.width
|
||||||
height: visible ? implicitHeight : 0
|
height: visible ? 30 : 0
|
||||||
label: parent.label
|
label: parent.label
|
||||||
// True to select an object of type, false for enums.
|
// True to select an object of type, false for enums.
|
||||||
property bool selectObjMode: paramTypeIn(modelData[1], ['ObjectType'])
|
property bool selectObjMode: paramTypeIn(modelData[1], ['ObjectType'])
|
||||||
|
|
Loading…
Reference in a new issue