diff options
author | link2xt <link2xt@testrun.org> | 2021-08-28 21:06:58 +0000 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-08-28 21:06:58 +0000 |
commit | caac309593527dcd3da562a7ad7ccb9ff39a04bc (patch) | |
tree | e7c2cb4b67ba472d00ad3ea8287382565ef81282 /qml | |
parent | a30d37116dca5e3fb86eccb31fbfa7b6f4a97520 (diff) | |
download | kdeltachat-caac309593527dcd3da562a7ad7ccb9ff39a04bc.tar.gz kdeltachat-caac309593527dcd3da562a7ad7ccb9ff39a04bc.zip |
Add "Show classic emails" setting
Diffstat (limited to 'qml')
-rw-r--r-- | qml/SettingsPage.qml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/qml/SettingsPage.qml b/qml/SettingsPage.qml index cd702ab..0257b6a 100644 --- a/qml/SettingsPage.qml +++ b/qml/SettingsPage.qml @@ -78,5 +78,19 @@ Kirigami.Page { checked: settingsPageRoot.context.getConfig("mvbox_move") == "1" onToggled: settingsPageRoot.context.setConfig("mvbox_move", checked ? "1" : "0") } + + ComboBox { + Kirigami.FormData.label: "Show classic emails: " + + model: ListModel { + id: certificateChecksModel + ListElement { text: "No, chats only" } + ListElement { text: "For accepted contacts" } + ListElement { text: "All" } + } + textRole: "text" + currentIndex: settingsPageRoot.context.getConfig("show_emails") + onActivated: settingsPageRoot.context.setConfig("show_emails", currentIndex) + } } } |