Commit d4db727b authored by Lorenz Meier's avatar Lorenz Meier

Small settings loading fix

parent 5f322e47
...@@ -18,8 +18,8 @@ QGCHilConfiguration::QGCHilConfiguration(UAS *mav, QWidget *parent) : ...@@ -18,8 +18,8 @@ QGCHilConfiguration::QGCHilConfiguration(UAS *mav, QWidget *parent) :
// class, but this is something to clean up for later. // class, but this is something to clean up for later.
QSettings settings; QSettings settings;
int i = settings.value("SIMULATOR_INDEX", -1).toInt();
settings.beginGroup("QGC_HILCONFIG"); settings.beginGroup("QGC_HILCONFIG");
int i = settings.value("SIMULATOR_INDEX", -1).toInt();
if (i > 0) { if (i > 0) {
ui->simComboBox->blockSignals(true); ui->simComboBox->blockSignals(true);
......
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