mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-25 15:16:02 +00:00
GH-2382 fix exact version filter not being exact...
This commit is contained in:
parent
59e2f52db7
commit
e4ce74e622
@ -13,7 +13,7 @@ ExactFilter::ExactFilter(const QString& pattern) : pattern(pattern){}
|
||||
ExactFilter::~ExactFilter(){}
|
||||
bool ExactFilter::accepts(const QString& value)
|
||||
{
|
||||
return value.contains(pattern);
|
||||
return value == pattern;
|
||||
}
|
||||
|
||||
RegexpFilter::RegexpFilter(const QString& regexp, bool invert)
|
||||
|
Loading…
Reference in New Issue
Block a user