summaryrefslogtreecommitdiffstats
path: root/framework/qml/MailViewer.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-06-27 23:11:08 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-06-27 23:11:08 +0200
commitaea425255aae63c261e9fae6795941b5242f5ac0 (patch)
tree76ed6d9d8bd6d0198b9263967df3524863bf2cd4 /framework/qml/MailViewer.qml
parentbec562e845449c89ebd946f663048302dad90e69 (diff)
downloadkube-aea425255aae63c261e9fae6795941b5242f5ac0.tar.gz
kube-aea425255aae63c261e9fae6795941b5242f5ac0.zip
Only show details if there are any
Diffstat (limited to 'framework/qml/MailViewer.qml')
-rw-r--r--framework/qml/MailViewer.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/qml/MailViewer.qml b/framework/qml/MailViewer.qml
index 6ad8c760..1df3c62d 100644
--- a/framework/qml/MailViewer.qml
+++ b/framework/qml/MailViewer.qml
@@ -88,8 +88,8 @@ Rectangle {
88 PropertyChanges { target: subject; wrapMode: Text.WrapAnywhere} 88 PropertyChanges { target: subject; wrapMode: Text.WrapAnywhere}
89 PropertyChanges { target: recipients; visible: false} 89 PropertyChanges { target: recipients; visible: false}
90 PropertyChanges { target: to; visible: true} 90 PropertyChanges { target: to; visible: true}
91 PropertyChanges { target: cc; visible: true} 91 PropertyChanges { target: cc; visible: root.cc}
92 PropertyChanges { target: bcc; visible: true} 92 PropertyChanges { target: bcc; visible: root.bcc}
93 } 93 }
94 ] 94 ]
95 95
@@ -226,6 +226,7 @@ Rectangle {
226 226
227 height: Kube.Units.gridUnit 227 height: Kube.Units.gridUnit
228 width: height 228 width: height
229 visible: root.cc || root.bcc
229 230
230 color: Kube.Colors.backgroundColor 231 color: Kube.Colors.backgroundColor
231 232