refs #576, no airline validation with color liveries and no exclusion of special designators

This commit is contained in:
Klaus Basan
2016-02-03 20:52:01 +01:00
parent 8cf31f7de8
commit 3096e9954e
7 changed files with 45 additions and 7 deletions

View File

@@ -58,7 +58,11 @@ namespace BlackGui
void CDbLiverySelectorComponent::setLivery(const CLivery &livery)
{
QString code(livery.getCombinedCode());
if (code.isEmpty()) { return; }
if (code.isEmpty())
{
this->ui->le_Livery->clear();
return;
}
if (livery != m_currentLivery)
{
this->ui->le_Livery->setText(code);