summaryrefslogtreecommitdiffstats
path: root/components/kube/qml/Kube.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/kube/qml/Kube.qml')
-rw-r--r--components/kube/qml/Kube.qml8
1 files changed, 7 insertions, 1 deletions
diff --git a/components/kube/qml/Kube.qml b/components/kube/qml/Kube.qml
index 8d77ddb5..e33119aa 100644
--- a/components/kube/qml/Kube.qml
+++ b/components/kube/qml/Kube.qml
@@ -199,13 +199,18 @@ Controls2.ApplicationWindow {
199 onClicked: kubeViews.showView("log") 199 onClicked: kubeViews.showView("log")
200 activeFocusOnTab: true 200 activeFocusOnTab: true
201 checkable: true 201 checkable: true
202 visible: false
202 Kube.Listener { 203 Kube.Listener {
203 filter: Kube.Messages.errorPending 204 filter: Kube.Messages.errorPending
204 onMessageReceived: logButton.alert = message.errorPending 205 onMessageReceived: logButton.alert = message.errorPending
205 } 206 }
207 Kube.Listener {
208 filter: Kube.Messages.notificationPending
209 onMessageReceived: logButton.visible = true
210 }
206 checked: kubeViews.currentViewName == "log" 211 checked: kubeViews.currentViewName == "log"
207 Controls2.ButtonGroup.group: viewButtonGroup 212 Controls2.ButtonGroup.group: viewButtonGroup
208 tooltip: qsTr("logview") 213 tooltip: qsTr("Notification View")
209 } 214 }
210 215
211 Kube.IconButton { 216 Kube.IconButton {
@@ -232,6 +237,7 @@ Controls2.ApplicationWindow {
232 237
233 Component.onCompleted: { 238 Component.onCompleted: {
234 dontFocus = true 239 dontFocus = true
240 prepareViewInBackground("log", {})
235 showView("conversation") 241 showView("conversation")
236 if (startupCheck.noAccount) { 242 if (startupCheck.noAccount) {
237 showView("accounts") 243 showView("accounts")