summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/kube/contents/ui/Kube.qml7
1 files changed, 6 insertions, 1 deletions
diff --git a/components/kube/contents/ui/Kube.qml b/components/kube/contents/ui/Kube.qml
index c0aaad48..8839c78b 100644
--- a/components/kube/contents/ui/Kube.qml
+++ b/components/kube/contents/ui/Kube.qml
@@ -270,7 +270,12 @@ Controls2.ApplicationWindow {
270 Kube.Listener { 270 Kube.Listener {
271 filter: Kube.Messages.componentDone 271 filter: Kube.Messages.componentDone
272 onMessageReceived: { 272 onMessageReceived: {
273 kubeViews.pop(Controls2.StackView.Immediate) 273 //Return to the mailview if we try to pop everything off
274 if (kubeViews.depth == 1) {
275 kubeViews.setMailView()
276 } else {
277 kubeViews.pop(Controls2.StackView.Immediate)
278 }
274 kubeViews.loginIfNecessary() 279 kubeViews.loginIfNecessary()
275 } 280 }
276 } 281 }