From d96a9a9fa2868c0ed56872145b953f53b983fb49 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Mon, 26 Jun 2017 01:41:10 +0200 Subject: [PATCH] Improved update missing parts --- src/blackmisc/simulation/aircraftmodel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/blackmisc/simulation/aircraftmodel.cpp b/src/blackmisc/simulation/aircraftmodel.cpp index bf22669e8..7870a93a3 100644 --- a/src/blackmisc/simulation/aircraftmodel.cpp +++ b/src/blackmisc/simulation/aircraftmodel.cpp @@ -533,6 +533,8 @@ namespace BlackMisc } this->updateLocalFileNames(otherModel); + if (this->hasValidDbKey() && otherModel.hasValidDbKey()) { return; } // both are DB data, treat as being the same except for filename maybe + if (this->m_callsign.isEmpty()) { this->setCallsign(otherModel.getCallsign()); } if (this->m_modelString.isEmpty()) { this->setModelString(otherModel.getModelString()); } if (this->m_name.isEmpty()) { this->setName(otherModel.getName()); }