mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37: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) {
|
} else if (c == _(':') && part.type.empty() && !quoted) {
|
||||||
part.type = part.query;
|
part.type = part.query;
|
||||||
part.query.clear();
|
part.query.clear();
|
||||||
} else if (c == _('!') && part.query.empty() && part.type.empty() && !quoted) {
|
} else if (c == _('-') && part.query.empty() && part.type.empty() && !quoted) {
|
||||||
// negate
|
// negate
|
||||||
part.need_match = false;
|
part.need_match = false;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user