private final int myFilterIndex;
private final List<TodoFilter> myFilters;
private final JTextField myNameField;
private final JScrollPane myPatternsScrollPane;
public FilterDialog(Component parent, TodoFilter filter, int filterIndex, List<TodoFilter> filters, List<TodoPattern> patterns) {
<BUG>super(parent, true);
myFilter = filter;</BUG>
myFilterIndex = filterIndex;
myFilters = filters;
myNameField = new JBTextField(filter.getName());

private final int myFilterIndex;
private final List<TodoFilter> myFilters;
private final JTextField myNameField;
private final JScrollPane myPatternsScrollPane;
public FilterDialog(Component parent, TodoFilter filter, int filterIndex, List<TodoFilter> filters, List<TodoPattern> patterns) {
super(parent, true);
setTitle(IdeBundle.message("title.add.todo.filter"));
myFilter = filter;
myFilterIndex = filterIndex;
myFilters = filters;
myNameField = new JBTextField(filter.getName());
