QmlDesigner.PropertyEditor: Fixing font issues

fully qualify properties to avoid ambiguities

Task-number: QTCREATORBUG-16403
Change-Id: I0f0f7a7dbf28f51aa82bf3e2fd2652189c460102
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Thomas Hartmann
2016-10-14 14:36:08 +02:00
committed by Tim Jenssen
parent 8af2c18341
commit 669a77bac4
2 changed files with 3 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ Controls.ComboBox {
model: ["Arial", "Times New Roman", "Courier", "Verdana", "Tahoma"]
onModelChanged: {
editText = backendValue.valueToString
editText = comboBox.backendValue.valueToString
}
style: CustomComboBoxStyle {
@@ -50,7 +50,7 @@ Controls.ComboBox {
ColorLogic {
id: colorLogic
backendValue: comboBox.backendValue
property string textValue: backendValue.value
property string textValue: comboBox.backendValue.valueToString
onTextValueChanged: {
comboBox.editText = textValue
}

View File

@@ -60,7 +60,7 @@ Section {
text: qsTr("Font")
}
FontComboBox {
backendValue: fontFamily
backendValue: fontSection.fontFamily
Layout.fillWidth: true
}