diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/FontGroupBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/FontGroupBox.qml index 3e9f61768adf1f67a52ccdd273e2bb5c2d8e3761..6bbf7c5b631db27c170754a0bff5da6e367546b9 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/FontGroupBox.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/FontGroupBox.qml @@ -12,8 +12,12 @@ GroupBox { layout: HorizontalLayout { Label { text: "Font" - } + } QFontComboBox { + id: fontSelector + currentFont.family:backendValues.font_family.value + onCurrentFontChanged: if (backendValues.font_family.value != currentFont.family) + backendValues.font_family.value = currentFont.family; } } }