Fixed wrong call of "FORCED RELOAD"

This commit is contained in:
Klaus Basan
2019-07-05 01:54:16 +02:00
committed by Mat Sutcliffe
parent afba7b9697
commit 7b5c071d97

View File

@@ -278,8 +278,7 @@ namespace BlackGui
const QMessageBox::StandardButton reply = static_cast<QMessageBox::StandardButton>(msgBox.exec());
if (reply != QMessageBox::Ok) { return; }
QPointer<CDbOwnModelsComponent> ownModelsComp(qobject_cast<CDbOwnModelsComponent *>(this->parent()));
ownModelsComp->requestSimulatorModels(simulator, IAircraftModelLoader::InBackgroundNoCache);
this->requestSimulatorModels(simulator, IAircraftModelLoader::InBackgroundNoCache);
}
void CDbOwnModelsComponent::CLoadModelsMenu::customMenu(CMenuActions &menuActions)