summaryrefslogtreecommitdiffstats
path: root/src/controls/TextArea.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/TextArea.qml')
-rw-r--r--src/controls/TextArea.qml7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/controls/TextArea.qml b/src/controls/TextArea.qml
index 4974d1860..1ea265d69 100644
--- a/src/controls/TextArea.qml
+++ b/src/controls/TextArea.qml
@@ -732,12 +732,7 @@ ScrollView {
onWrapModeChanged: edit.doLayout()
renderType: __style ? __style.renderType : Text.NativeRendering
- Binding {
- target: edit
- property: 'font'
- value: __style.font
- when: __style
- }
+ font: __style ? __style.font : TextSingleton.font
color: __style ? __style.textColor : "darkgray"
selectionColor: __style ? __style.selectionColor : "darkred"
selectedTextColor: __style ? __style.selectedTextColor : "white"