mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-30 22:29:13 +08:00
On login page, on clear aircraft/airline fields with simulator attached
This commit is contained in:
@@ -533,11 +533,14 @@ namespace BlackGui
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// no model data from DB
|
if (sGui->getIContextSimulator()->isSimulatorAvailable())
|
||||||
|
{
|
||||||
|
// sim. attached, but no model data from DB
|
||||||
ui->le_AircraftCombinedType->clear();
|
ui->le_AircraftCombinedType->clear();
|
||||||
ui->selector_AircraftIcao->clear();
|
ui->selector_AircraftIcao->clear();
|
||||||
ui->selector_AirlineIcao->clear();
|
ui->selector_AirlineIcao->clear();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const bool changedOwnAircraftCallsignPilot = this->updateOwnAircraftCallsignAndPilotFromGuiValues();
|
const bool changedOwnAircraftCallsignPilot = this->updateOwnAircraftCallsignAndPilotFromGuiValues();
|
||||||
const bool changedOwnAircraftIcaoValues = this->updateOwnAircaftIcaoValuesFromGuiValues();
|
const bool changedOwnAircraftIcaoValues = this->updateOwnAircaftIcaoValuesFromGuiValues();
|
||||||
|
|||||||
Reference in New Issue
Block a user