Standby should be visible when we have no current page
authorMohammed Sameer <msameer@foolab.org>
Thu, 27 Dec 2012 18:21:39 +0000 (20:21 +0200)
committerMohammed Sameer <msameer@foolab.org>
Thu, 27 Dec 2012 18:21:39 +0000 (20:21 +0200)
qml/main.qml

index 77154c3..7662b7b 100644 (file)
@@ -405,6 +405,6 @@ PageStackWindow {
 
         Standby {
                 policyLost: pipelineManager.state == "policyLost"
-                show: pageStack.currentPage.standbyVisible && pageStack.currentPage.status == PageStatus.Active && pipelineManager.showStandBy
+                show: !pageStack.currentPage || (pageStack.currentPage.standbyVisible && pageStack.currentPage.status == PageStatus.Active && pipelineManager.showStandBy)
         }
 }