diff options
Diffstat (limited to 'Fields/TextArea.qml')
| -rw-r--r-- | Fields/TextArea.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Fields/TextArea.qml b/Fields/TextArea.qml index 20cfeff..7be3564 100644 --- a/Fields/TextArea.qml +++ b/Fields/TextArea.qml @@ -6,11 +6,11 @@ import QtQuick.Controls 2.13 Label { id: control - property var definition + property var model property alias value: control.text Keys.onPressed: { - if (event.text === definition.key) { + if (event.text === model.key) { popup.open() event.accepted = true } @@ -23,7 +23,7 @@ Label { Popup { id: popup - width: control.width + width: parent.width height: input.height padding: 0 |
