Improved handling of runtime based GUI components, allows to init all child components in one step

refs #195, follow up of fixing FSX configuration page as result of #217
This commit is contained in:
Klaus Basan
2014-04-28 19:12:27 +02:00
parent 72843fac90
commit 5e0e9faf71
3 changed files with 39 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ void MainWindow::init(const CRuntimeConfig &runtimeConfig)
// context
this->createRuntime(runtimeConfig, this);
this->ui->comp_Flightplan->setRuntime(this->getRuntime());
CRuntimeBasedComponent::setRuntimeForComponents(this->getRuntime(), this);
// wire GUI signals
this->initGuiSignals();