mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
Also allow to set "only in error/warning" case from validation dialog
This commit is contained in:
@@ -51,6 +51,13 @@ namespace BlackMisc
|
||||
this->setMatchingMode(m);
|
||||
}
|
||||
|
||||
void CAircraftMatcherSetup::setOnlyShowVerificationWarningsAndErrors(bool only)
|
||||
{
|
||||
MatchingMode m = this->getMatchingMode();
|
||||
m.setFlag(ModelVerificationOnlyWarnError, only);
|
||||
this->setMatchingMode(m);
|
||||
}
|
||||
|
||||
QString CAircraftMatcherSetup::convertToQString(bool i18n) const
|
||||
{
|
||||
Q_UNUSED(i18n);
|
||||
|
||||
@@ -128,6 +128,9 @@ namespace BlackMisc
|
||||
//! Set startup verification
|
||||
void setVerificationAtStartup(bool verify);
|
||||
|
||||
//! Set the "show only errors" mode
|
||||
void setOnlyShowVerificationWarningsAndErrors(bool only);
|
||||
|
||||
//! Matching mode as string
|
||||
QString getMatchingModeAsString() const { return modeToString(this->getMatchingMode()); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user