diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-02-04 23:31:42 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-02-04 23:31:42 +0100 |
commit | e35336834f242e17c4c68072e9e680b8dbba12b2 (patch) | |
tree | 36e0d2e110cc5d7ce48cbc895badeea228e64ae4 /applications | |
parent | bd098e7ed6f8e52e3b97f60def974c5d8c47369a (diff) | |
download | kube-e35336834f242e17c4c68072e9e680b8dbba12b2.tar.gz kube-e35336834f242e17c4c68072e9e680b8dbba12b2.zip |
composer: make it possible to select an identity
Diffstat (limited to 'applications')
-rw-r--r-- | applications/kube-mail/package/contents/ui/Composer.qml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/applications/kube-mail/package/contents/ui/Composer.qml b/applications/kube-mail/package/contents/ui/Composer.qml index 52cb2f6c..a9fab402 100644 --- a/applications/kube-mail/package/contents/ui/Composer.qml +++ b/applications/kube-mail/package/contents/ui/Composer.qml | |||
@@ -54,9 +54,15 @@ Item { | |||
54 | } | 54 | } |
55 | 55 | ||
56 | ComboBox { | 56 | ComboBox { |
57 | model: ["Kuberich <kuberich@kolabnow.com>", "Uni <kuberich@university.edu>", "Spam <hello.spam@spam.to>"] | 57 | model: composer.identityModel |
58 | 58 | ||
59 | Layout.fillWidth: true | 59 | Layout.fillWidth: true |
60 | |||
61 | currentIndex: composer.fromIndex | ||
62 | |||
63 | onCurrentIndexChanged: { | ||
64 | composer.fromIndex = currentIndex | ||
65 | } | ||
60 | } | 66 | } |
61 | 67 | ||
62 | Label { | 68 | Label { |