summaryrefslogtreecommitdiffstats
path: root/framework/qml/MailListView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml/MailListView.qml')
-rw-r--r--framework/qml/MailListView.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/qml/MailListView.qml b/framework/qml/MailListView.qml
index 46d3146a..d82571ec 100644
--- a/framework/qml/MailListView.qml
+++ b/framework/qml/MailListView.qml
@@ -295,9 +295,9 @@ FocusScope {
295 295
296 Kube.IconButton { 296 Kube.IconButton {
297 id: importantButton 297 id: importantButton
298 iconName: Kube.Icons.markImportant 298 iconName: model.important ? Kube.Icons.markImportant : Kube.Icons.markUnimportant
299 visible: !!model.mail 299 visible: !!model.mail
300 onClicked: Kube.Fabric.postMessage(Kube.Messages.toggleImportant, {"mail": model.mail, "important": model.important}) 300 onClicked: Kube.Fabric.postMessage(Kube.Messages.setImportant, {"mail": model.mail, "important": !model.important})
301 activeFocusOnTab: false 301 activeFocusOnTab: false
302 } 302 }
303 303