Skip to content

Commit

Permalink
Fix remove all tags button
Browse files Browse the repository at this point in the history
  • Loading branch information
CoreyD97 committed Aug 5, 2021
1 parent e465d32 commit 5d4bb40
Showing 1 changed file with 2 additions and 3 deletions.
@@ -1,6 +1,5 @@
package com.nccgroup.loggerplusplus.util.userinterface.dialog;

import com.nccgroup.loggerplusplus.filter.colorfilter.ColorFilter;
import com.nccgroup.loggerplusplus.filter.logfilter.LogFilter;
import com.nccgroup.loggerplusplus.filter.parser.ParseException;
import com.nccgroup.loggerplusplus.filter.tag.Tag;
Expand Down Expand Up @@ -160,8 +159,8 @@ public void switchRows(int from, int to) {
}

public void removeAll() {
for (ColorFilter filter : new ArrayList<>(filterLibraryController.getColorFilters().values())) {
filterLibraryController.removeColorFilter(filter);
for (Tag tag : new ArrayList<>(filterLibraryController.getTags().values())) {
filterLibraryController.removeTag(tag);
}

this.rowUUIDs.clear();
Expand Down

0 comments on commit 5d4bb40

Please sign in to comment.