diff options
Diffstat (limited to 'components')
-rw-r--r-- | components/kube/contents/ui/ComposerView.qml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/components/kube/contents/ui/ComposerView.qml b/components/kube/contents/ui/ComposerView.qml index b8da8a83..7bc3b061 100644 --- a/components/kube/contents/ui/ComposerView.qml +++ b/components/kube/contents/ui/ComposerView.qml | |||
@@ -297,16 +297,12 @@ Kube.View { | |||
297 | } | 297 | } |
298 | } | 298 | } |
299 | 299 | ||
300 | Kube.TextArea { | 300 | Kube.TextEditor { |
301 | id: content | ||
302 | Layout.fillWidth: true | 301 | Layout.fillWidth: true |
303 | Layout.fillHeight: true | 302 | Layout.fillHeight: true |
304 | 303 | onActiveFocusChanged: closeFirstSplitIfNecessary() | |
305 | selectByMouse: true | ||
306 | |||
307 | text: composerController.body | 304 | text: composerController.body |
308 | onTextChanged: composerController.body = text; | 305 | onTextChanged: composerController.body = text; |
309 | onActiveFocusChanged: closeFirstSplitIfNecessary() | ||
310 | } | 306 | } |
311 | } | 307 | } |
312 | } | 308 | } |