mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
Improved update missing parts
This commit is contained in:
committed by
Mathew Sutcliffe
parent
0b85a7c02a
commit
d96a9a9fa2
@@ -533,6 +533,8 @@ namespace BlackMisc
|
|||||||
}
|
}
|
||||||
|
|
||||||
this->updateLocalFileNames(otherModel);
|
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_callsign.isEmpty()) { this->setCallsign(otherModel.getCallsign()); }
|
||||||
if (this->m_modelString.isEmpty()) { this->setModelString(otherModel.getModelString()); }
|
if (this->m_modelString.isEmpty()) { this->setModelString(otherModel.getModelString()); }
|
||||||
if (this->m_name.isEmpty()) { this->setName(otherModel.getName()); }
|
if (this->m_name.isEmpty()) { this->setName(otherModel.getName()); }
|
||||||
|
|||||||
Reference in New Issue
Block a user