refs #649, default values for selectors based on own model set

This commit is contained in:
Klaus Basan
2016-05-31 23:46:29 +02:00
parent 9855c9dd08
commit e3fd8d2c78
2 changed files with 4 additions and 2 deletions

View File

@@ -71,8 +71,8 @@ namespace BlackGui
connect(ui->pb_ReverseLookup, &QPushButton::pressed, this, &CModelMatcherComponent::ps_reverseLookup);
connect(sGui->getWebDataServices(), &CWebDataServices::dataRead, this, &CModelMatcherComponent::ps_webDataRed);
const CSimulatorInfo sim(ui->comp_SimulatorSelector->getValue());
this->m_modelSetLoader.changeSimulator(sim);
const CSimulatorInfo sim(this->m_modelSetLoader.getSimulator());
ui->comp_SimulatorSelector->setValue(sim);
this->redisplay();
}