summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-06-14 14:59:53 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-06-14 15:51:56 +0200
commitb4afe4d011513ae649e4df8dc93cefed5e66c8eb (patch)
treeab6484e9fbf07066993dea137b98950e942c7eb7
parent5941fdf6d65ecf29fc46dab000987041f5f4a8d8 (diff)
downloadkube-b4afe4d011513ae649e4df8dc93cefed5e66c8eb.tar.gz
kube-b4afe4d011513ae649e4df8dc93cefed5e66c8eb.zip
Support mouse selection of text in composer
-rw-r--r--components/kube/contents/ui/ComposerView.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/kube/contents/ui/ComposerView.qml b/components/kube/contents/ui/ComposerView.qml
index 9e48aba3..84c55ec5 100644
--- a/components/kube/contents/ui/ComposerView.qml
+++ b/components/kube/contents/ui/ComposerView.qml
@@ -300,6 +300,8 @@ Kube.View {
300 Layout.fillWidth: true 300 Layout.fillWidth: true
301 Layout.fillHeight: true 301 Layout.fillHeight: true
302 302
303 selectByMouse: true
304
303 text: composerController.body 305 text: composerController.body
304 onTextChanged: composerController.body = text; 306 onTextChanged: composerController.body = text;
305 onActiveFocusChanged: closeFirstSplitIfNecessary() 307 onActiveFocusChanged: closeFirstSplitIfNecessary()