Commit 8a1b61ed authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Fix wrong clazy fix

Old code was
 if (existing_tenses.intersect(practice_tenses).isEmpty())
so we want to not intersect
parent ff5a9d21
......@@ -509,7 +509,7 @@ void EntryFilter::cleanupInvalid(int setNo)
existing_tenses << tense;
if (existing_tenses.intersects(practice_tenses))
if (!existing_tenses.intersects(practice_tenses))
erase = true;
if (erase) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment