refs #720, fixed: display all models when only selected models are consolidated

* in same step fixed location of error message
* minor renaming
This commit is contained in:
Klaus Basan
2016-08-13 00:51:06 +02:00
committed by Mathew Sutcliffe
parent 4582387684
commit e3fc72d775
2 changed files with 6 additions and 7 deletions

View File

@@ -145,7 +145,8 @@ namespace BlackGui
void CDbOwnModelsComponent::updateModels(const CAircraftModelList &models, const CSimulatorInfo &simulator)
{
this->modelLoader()->replaceOrAddCachedModels(models, simulator);
ui->tvp_OwnAircraftModels->updateContainerMaybeAsync(models);
const CAircraftModelList allModels(this->m_modelLoader->getAircraftModels());
ui->tvp_OwnAircraftModels->updateContainerMaybeAsync(allModels);
}
bool CDbOwnModelsComponent::initModelLoader(const CSimulatorInfo &simulator)