Unverified Commit 036e7a96 authored by Gus Grubba's avatar Gus Grubba Committed by GitHub

Merge pull request #8276 from stefandunca/pr-fix_done_on_planview

Fix Done in Toolbar when switching to Plan View
parents 7807873f 27ca8ba4
...@@ -71,8 +71,9 @@ Item { ...@@ -71,8 +71,9 @@ Item {
} }
// Progress bar // Progress bar
Connections {
on_ControllerProgressPctChanged: { target: _controllerValid ? _planMasterController.missionController : undefined
onProgressPctChanged: {
if (_controllerProgressPct === 1) { if (_controllerProgressPct === 1) {
missionStats.visible = false missionStats.visible = false
uploadCompleteText.visible = true uploadCompleteText.visible = true
...@@ -82,6 +83,7 @@ Item { ...@@ -82,6 +83,7 @@ Item {
progressBar.visible = true progressBar.visible = true
} }
} }
}
Timer { Timer {
id: resetProgressTimer id: resetProgressTimer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment