Distributor filter improvements

* if all or none simulator is selected do not filter
* also select if there is no (NULL) simulator
This commit is contained in:
Klaus Basan
2020-03-27 15:05:26 +01:00
committed by Mat Sutcliffe
parent 00b2034b2d
commit 1642502aae
4 changed files with 24 additions and 4 deletions

View File

@@ -132,6 +132,10 @@ namespace BlackMisc
//! Matches any simulator
bool matchesAny(const CSimulatorInfo &otherInfo) const;
//! Matches any simulator or None (NULL)
//! \remark for cases where no specified sim. also matches
bool matchesAnyOrNone(const CSimulatorInfo &otherInfo) const;
//! Simulator
Simulator getSimulator() const { return static_cast<Simulator>(m_simulator); }