diff options
Diffstat (limited to 'framework/qml/Outbox.qml')
-rw-r--r-- | framework/qml/Outbox.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/qml/Outbox.qml b/framework/qml/Outbox.qml index 9d14120a..07c0c6d2 100644 --- a/framework/qml/Outbox.qml +++ b/framework/qml/Outbox.qml | |||
@@ -28,6 +28,8 @@ import org.kube.framework 1.0 as Kube | |||
28 | Rectangle { | 28 | Rectangle { |
29 | id: root | 29 | id: root |
30 | 30 | ||
31 | visible: outboxModel.count > 0 | ||
32 | |||
31 | Kube.OutboxController { | 33 | Kube.OutboxController { |
32 | id: outboxController | 34 | id: outboxController |
33 | } | 35 | } |
@@ -55,7 +57,7 @@ Rectangle { | |||
55 | Text { | 57 | Text { |
56 | id: text | 58 | id: text |
57 | anchors.verticalCenter: parent.verticalCenter | 59 | anchors.verticalCenter: parent.verticalCenter |
58 | text: outboxModel.count > 0 ? "Outbox (" + outboxModel.count + ")" : "Outbox" | 60 | text: outboxModel.count > 0 ? "Pending (" + outboxModel.count + ")" : "Outbox" |
59 | color: Kube.Colors.highlightedTextColor | 61 | color: Kube.Colors.highlightedTextColor |
60 | } | 62 | } |
61 | Icon { | 63 | Icon { |