mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Ref T210, adjusting classes to use new functions
This commit is contained in:
@@ -265,7 +265,7 @@ namespace BlackGui
|
||||
bool changed = false;
|
||||
if (aircraftFromBackend.getModelString() != modelString)
|
||||
{
|
||||
CAircraftModelList models = sGui->getIContextSimulator()->getModelSetModelsStartingWith(modelString);
|
||||
const CAircraftModelList models = sGui->getIContextSimulator()->getModelSetModelsStartingWith(modelString);
|
||||
if (models.isEmpty())
|
||||
{
|
||||
CLogMessage(this).validationError("No model for title: %1") << modelString;
|
||||
|
||||
Reference in New Issue
Block a user