From a09b48119bc895f1d2a678f6b2a5541cabf9d984 Mon Sep 17 00:00:00 2001 From: Christiaan Janssen <christiaan.janssen@nokia.com> Date: Thu, 18 Feb 2010 12:35:57 +0100 Subject: [PATCH] QmlDesigner.PropertyEditor: Font widget --- .../qmldesigner/propertyeditor/Qt/FontGroupBox.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/FontGroupBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/FontGroupBox.qml index 3e9f61768ad..6bbf7c5b631 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; } } } -- GitLab