mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Use '-' for negation in quick filter (closes #43)
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ vector<QuickFilterPart> parse_quicksearch_query(String const& query) {
|
||||
} else if (c == _(':') && part.type.empty() && !quoted) {
|
||||
part.type = part.query;
|
||||
part.query.clear();
|
||||
} else if (c == _('!') && part.query.empty() && part.type.empty() && !quoted) {
|
||||
} else if (c == _('-') && part.query.empty() && part.type.empty() && !quoted) {
|
||||
// negate
|
||||
part.need_match = false;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user