Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
2d358906
Commit
2d358906
authored
Apr 27, 2019
by
Gus Grubba
Browse files
Don't discard PlanView
parent
5b4407a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/MainRootWindow.qml
View file @
2d358906
...
...
@@ -33,7 +33,6 @@ ApplicationWindow {
readonly
property
string
settingsViewSource
:
"
AppSettings.qml
"
readonly
property
string
setupViewSource
:
"
SetupView.qml
"
readonly
property
string
planViewSource
:
"
PlanView.qml
"
readonly
property
string
analyzeViewSource
:
!
ScreenTools
.
isMobile
?
"
AnalyzeView.qml
"
:
"
MavlinkConsolePage.qml
"
//-------------------------------------------------------------------------
...
...
@@ -89,9 +88,7 @@ ApplicationWindow {
function
showPlanView
()
{
viewSwitch
(
true
)
if
(
mainContentWindow
.
source
!==
planViewSource
)
{
mainContentWindow
.
source
=
planViewSource
}
mainContentWindow
.
source
=
""
}
function
showAnalyzeView
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment