diff --git a/src/blackmisc/simulation/aircraftmodelloader.cpp b/src/blackmisc/simulation/aircraftmodelloader.cpp index 57ecde5df..941c7a8d9 100644 --- a/src/blackmisc/simulation/aircraftmodelloader.cpp +++ b/src/blackmisc/simulation/aircraftmodelloader.cpp @@ -145,10 +145,13 @@ namespace BlackMisc if (mode.testFlag(CacheOnly)) { // only cache, but we did not find any data yet (still in progress?) - // here we rely on the cache load slot, no need to emit here - // an alternative was to sync cache here + // here we rely on the cache load slot, no need to emit here, will + // be done later in ps_cacheChanged. An alternative was to sync cache here + this->m_loadingInProgress = false; return; } + + // really load from disk this->startLoadingFromDisk(mode, modelConsolidation, directory); }