mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
refs #745, fixes "validation passed" message when there are still errors
This commit is contained in:
committed by
Mathew Sutcliffe
parent
7bb6979b90
commit
04a9381858
@@ -345,14 +345,15 @@ namespace BlackGui
|
||||
{
|
||||
// delete highlighting because no errors
|
||||
ui->tvp_StashAircraftModels->setHighlightModelStrings(QStringList());
|
||||
|
||||
if (displayInfo)
|
||||
{
|
||||
QString no = QString::number(this->getStashedModelsCount());
|
||||
CStatusMessage msg(validationCategories(), CStatusMessage::SeverityInfo, "Validation passed for " + no + " models");
|
||||
this->showMessage(msg);
|
||||
}
|
||||
}
|
||||
|
||||
if (displayInfo)
|
||||
{
|
||||
QString no = QString::number(this->getStashedModelsCount());
|
||||
CStatusMessage msg(validationCategories(), CStatusMessage::SeverityInfo, "Validation passed for " + no + " models");
|
||||
this->showMessage(msg);
|
||||
}
|
||||
return !validModels.isEmpty(); // at least some valid objects
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user