diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-09-12 23:08:47 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-09-12 23:08:47 +0200 |
commit | c7dcae386503a88d05ad575a29e571dd5fc40c87 (patch) | |
tree | 0a0efd8f9744dc2082b19448160f17294a215941 | |
parent | a77abeaf2b0a8c129f9d37c2e29654fccc3a307e (diff) | |
download | kube-c7dcae386503a88d05ad575a29e571dd5fc40c87.tar.gz kube-c7dcae386503a88d05ad575a29e571dd5fc40c87.zip |
Restore the plain text editor until we sort out the html composer.
It's royally broken right now.
-rw-r--r-- | components/kube/contents/ui/ComposerView.qml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/components/kube/contents/ui/ComposerView.qml b/components/kube/contents/ui/ComposerView.qml index fe53f023..fcc9c849 100644 --- a/components/kube/contents/ui/ComposerView.qml +++ b/components/kube/contents/ui/ComposerView.qml | |||
@@ -274,7 +274,8 @@ Kube.View { | |||
274 | 274 | ||
275 | Kube.Button { | 275 | Kube.Button { |
276 | id: html | 276 | id: html |
277 | 277 | //FIXME get the html composer to do something useful | |
278 | visible: false | ||
278 | text: checked ? qsTr("plain") : qsTr("html") | 279 | text: checked ? qsTr("plain") : qsTr("html") |
279 | checkable: true | 280 | checkable: true |
280 | } | 281 | } |
@@ -356,8 +357,8 @@ Kube.View { | |||
356 | 357 | ||
357 | onActiveFocusChanged: closeFirstSplitIfNecessary() | 358 | onActiveFocusChanged: closeFirstSplitIfNecessary() |
358 | Keys.onEscapePressed: recipients.forceActiveFocus() | 359 | Keys.onEscapePressed: recipients.forceActiveFocus() |
359 | // text: document.text //composerController.body | 360 | text: composerController.body |
360 | // onTextChanged: composerController.body = text; | 361 | onTextChanged: composerController.body = text; |
361 | } | 362 | } |
362 | } | 363 | } |
363 | } | 364 | } |