mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Fixes issues found during testing refs #568
* upper case in filters * validation of distributor (made distributor mandatory) * country change triggers filter
This commit is contained in:
@@ -61,12 +61,7 @@ namespace BlackGui
|
||||
CStatusMessageList CDistributorForm::validate() const
|
||||
{
|
||||
CDistributor distributor(getValue());
|
||||
CStatusMessageList msgs;
|
||||
if (!distributor.getDbKey().isEmpty())
|
||||
{
|
||||
// optional distributor
|
||||
msgs = distributor.validate();
|
||||
}
|
||||
CStatusMessageList msgs(distributor.validate());
|
||||
if (this->isReadOnly())
|
||||
{
|
||||
// in readonly I cannot change the data anyway, so skip warnings
|
||||
|
||||
Reference in New Issue
Block a user