mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
Fixes mapping tool livery form,
if form is empty allow a signal from airline form to override the value
This commit is contained in:
committed by
Mat Sutcliffe
parent
68cb177d96
commit
189bb15936
@@ -250,7 +250,7 @@ namespace BlackGui
|
||||
|
||||
// only replace with STD livery if airline does not match
|
||||
const CLivery currentLivery = this->getValue();
|
||||
if (currentLivery.getAirlineIcaoCode() == code) { return; }
|
||||
if (currentLivery.hasValidDbKey() && currentLivery.getAirlineIcaoCode() == code) { return; }
|
||||
|
||||
const CLivery stdLivery(sGui->getWebDataServices()->getLiveries().findStdLiveryByAirlineIcaoVDesignator(code));
|
||||
if (stdLivery.hasValidDbKey())
|
||||
|
||||
Reference in New Issue
Block a user