summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2017-09-28 10:20:10 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2017-09-28 10:20:10 +0200
commit123155d8f3ebb59670b14f51b2367fb463a77cb3 (patch)
tree23d1cfb153aba9e4cf3441e40b47c56e643ade60
parent62d4c35bb7de92e6edd79ad798c373c77e1827fb (diff)
downloadkube-123155d8f3ebb59670b14f51b2367fb463a77cb3.tar.gz
kube-123155d8f3ebb59670b14f51b2367fb463a77cb3.zip
show something even if there is no subject
-rw-r--r--components/kube/contents/ui/ComposerView.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/kube/contents/ui/ComposerView.qml b/components/kube/contents/ui/ComposerView.qml
index a06ef19c..2c00aad8 100644
--- a/components/kube/contents/ui/ComposerView.qml
+++ b/components/kube/contents/ui/ComposerView.qml
@@ -169,9 +169,9 @@ Kube.View {
169 margins: Kube.Units.smallSpacing 169 margins: Kube.Units.smallSpacing
170 } 170 }
171 171
172 Kube.Label{ 172 Kube.Label {
173 width: content.width 173 width: content.width
174 text: model.subject 174 text: model.subject == "" ? "no subject" : model.subject
175 color: Kube.Colors.highlightedTextColor 175 color: Kube.Colors.highlightedTextColor
176 maximumLineCount: 2 176 maximumLineCount: 2
177 wrapMode: Text.WrapAnywhere 177 wrapMode: Text.WrapAnywhere