mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
refs #526, forms
* fixed read only * in read only mode no warnings (then we just do mapping and warnings do not help)
This commit is contained in:
@@ -67,6 +67,11 @@ namespace BlackGui
|
||||
// optional distributor
|
||||
msgs = distributor.validate();
|
||||
}
|
||||
if (this->isReadOnly())
|
||||
{
|
||||
// in readonly I cannot change the data anyway, so skip warnings
|
||||
msgs.removeWarningsAndBelow();
|
||||
}
|
||||
this->ui->val_Indicator->setState(msgs);
|
||||
return msgs;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user