mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
refs #575, using livery completer
* embedded in form * rectified readOnly / only for selection * added uper case validator where missing * selecting airline triggers loading of default livery
This commit is contained in:
@@ -164,12 +164,12 @@ namespace BlackGui
|
||||
this->connect(c, static_cast<void (QCompleter::*)(const QString &)>(&QCompleter::activated), this, &CDbDistributorSelectorComponent::ps_completerActivated);
|
||||
|
||||
this->ui->le_Distributor->setCompleter(c);
|
||||
m_completerDistributorNames.reset(c); // deletes any old completer
|
||||
m_completerDistributors.reset(c); // deletes any old completer
|
||||
this->setReadOnly(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
this->m_completerDistributorNames.reset(nullptr);
|
||||
this->m_completerDistributors.reset(nullptr);
|
||||
this->setReadOnly(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user