mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
refs #576, no airline validation with color liveries and no exclusion of special designators
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user