mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
Always enable aircraft if changing model string (maunally changing model)
This commit is contained in:
@@ -382,6 +382,9 @@ namespace BlackGui
|
||||
}
|
||||
model.setModelType(CAircraftModel::TypeManuallySet);
|
||||
CLogMessage(this).info(u"Requesting changes for '%1'") << callsign.asString();
|
||||
|
||||
// enable in any case
|
||||
sGui->getIContextNetwork()->updateAircraftEnabled(aircraftFromBackend.getCallsign(), true);
|
||||
changed = sGui->getIContextNetwork()->updateAircraftModel(aircraftFromBackend.getCallsign(), model, identifier());
|
||||
}
|
||||
if (aircraftFromBackend.isEnabled() != enabled)
|
||||
|
||||
Reference in New Issue
Block a user