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
716ada3c
Commit
716ada3c
authored
Jan 05, 2013
by
Thomas Gubler
Browse files
HIL UI: cleanup on simComboBox change
parent
37f78c92
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/QGCHilConfiguration.cc
View file @
716ada3c
...
@@ -24,6 +24,14 @@ QGCHilConfiguration::~QGCHilConfiguration()
...
@@ -24,6 +24,14 @@ QGCHilConfiguration::~QGCHilConfiguration()
void
QGCHilConfiguration
::
on_simComboBox_currentIndexChanged
(
int
index
)
void
QGCHilConfiguration
::
on_simComboBox_currentIndexChanged
(
int
index
)
{
{
//clean up
QLayoutItem
*
child
;
while
((
child
=
ui
->
simulatorConfigurationLayout
->
takeAt
(
0
))
!=
0
)
{
delete
child
->
widget
();
delete
child
;
}
if
(
1
==
index
)
if
(
1
==
index
)
{
{
// Ensure the sim exists and is disabled
// Ensure the sim exists and is disabled
...
...
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