mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-208223 IDEA-208332 partial rollback of 85ff3d541f
This commit is contained in:
@@ -53,7 +53,7 @@ public class NameFilteringListModel<T> extends FilteringListModel<T> {
|
||||
}
|
||||
|
||||
public NameFilteringListModel(JList<T> list, final Function<? super T, String> namer, final Condition<? super String> filter, Computable<String> pattern) {
|
||||
super(list.getModel());
|
||||
super(list);
|
||||
myPattern = pattern;
|
||||
myNamer = namer;
|
||||
setFilter(namer != null ? (Condition<T>)t -> filter.value(namer.fun(t)) : null);
|
||||
|
||||
Reference in New Issue
Block a user