Updating main window because of recent changes (applying changes of other classes)

This commit is contained in:
Klaus Basan
2014-06-09 02:48:22 +02:00
parent 2325881c91
commit c99b340833
3 changed files with 9 additions and 5 deletions

View File

@@ -203,6 +203,8 @@ void MainWindow::toggleNetworkConnection()
// set latest aircraft
this->getIContextOwnAircraft()->updateOwnAircraft(this->m_ownAircraft, MainWindow::sampleBlackGuiOriginator());
// flight plan
this->ui->comp_Flightplan->prefillWithAircraftData(this->m_ownAircraft);
// Login is based on setting current server
INetwork::LoginMode mode = INetwork::LoginNormal;