workspace: fix selectors with special:

fixes #5187
This commit is contained in:
Vaxry 2024-03-20 18:05:57 +00:00
parent 9ddf1b105e
commit 361357095c

View file

@ -201,6 +201,8 @@ bool CWorkspace::matchesStaticSelector(const std::string& selector_) {
} else if (selector.starts_with("name:")) {
return m_szName == selector.substr(5);
} else if (selector.starts_with("special:")) {
return m_szName == selector;
} else {
// parse selector