Fixes mapping tool livery form,

if form is empty allow a signal from airline form to override the value
This commit is contained in:
Klaus Basan
2020-06-15 21:14:02 +02:00
committed by Mat Sutcliffe
parent 68cb177d96
commit 189bb15936

View File

@@ -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())