summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-03-02 09:07:12 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-03-02 12:03:04 +0100
commit795d551639340d81641aa8c6eabff1776e0b2ee1 (patch)
tree6b5399a790a3ebcbcb8cde069dfd2c31a468679d /components
parentf0b2dd171acd7c809325134f7c99a9cf03a214db (diff)
downloadkube-795d551639340d81641aa8c6eabff1776e0b2ee1.tar.gz
kube-795d551639340d81641aa8c6eabff1776e0b2ee1.zip
Ignore messages that have nothing to say.
Diffstat (limited to 'components')
-rw-r--r--components/kube/qml/Kube.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/kube/qml/Kube.qml b/components/kube/qml/Kube.qml
index 34c2a59e..3a970733 100644
--- a/components/kube/qml/Kube.qml
+++ b/components/kube/qml/Kube.qml
@@ -82,7 +82,9 @@ Controls2.ApplicationWindow {
82 Kube.Listener { 82 Kube.Listener {
83 filter: Kube.Messages.notification 83 filter: Kube.Messages.notification
84 onMessageReceived: { 84 onMessageReceived: {
85 notificationPopup.notify(message.message); 85 if (message.message) {
86 notificationPopup.notify(message.message);
87 }
86 } 88 }
87 } 89 }
88 90