summaryrefslogtreecommitdiff
path: root/src/controls/TextArea.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/TextArea.qml')
-rw-r--r--src/controls/TextArea.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controls/TextArea.qml b/src/controls/TextArea.qml
index ac6ecac3..402161c2 100644
--- a/src/controls/TextArea.qml
+++ b/src/controls/TextArea.qml
@@ -765,8 +765,8 @@ ScrollView {
Connections {
target: area.viewport
- onWidthChanged: edit.doLayout()
- onHeightChanged: edit.doLayout()
+ function onWidthChanged() { edit.doLayout() }
+ function onHeightChanged() { edit.doLayout() }
}
onContentWidthChanged: edit.doLayout()
onContentHeightChanged: edit.doLayout()