diff options
-rw-r--r-- | views/log/qml/View.qml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/views/log/qml/View.qml b/views/log/qml/View.qml index 4dc2bce8..5c4cabee 100644 --- a/views/log/qml/View.qml +++ b/views/log/qml/View.qml | |||
@@ -54,12 +54,14 @@ Controls1.SplitView { | |||
54 | if (!message.message) { | 54 | if (!message.message) { |
55 | return | 55 | return |
56 | } | 56 | } |
57 | if (message.type == Kube.Notifications.error) { | 57 | //Avoid highlighting the iconbutton again if we're already looking at this view. |
58 | root.pendingError = true | 58 | if (!Controls2.StackView.visible) { |
59 | if (message.type == Kube.Notifications.error) { | ||
60 | root.pendingError = true | ||
61 | } | ||
62 | root.pendingNotification = true | ||
59 | } | 63 | } |
60 | 64 | ||
61 | root.pendingNotification = true | ||
62 | |||
63 | var error = { | 65 | var error = { |
64 | timestamp: new Date(), | 66 | timestamp: new Date(), |
65 | message: message.message, | 67 | message: message.message, |