From 30c4d6ed834b52aa4ce4b252295c41b63375ecba Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Fri, 10 Apr 2020 09:57:31 +0200 Subject: [PATCH] default search/filter to realtime --- src/be/nikiroo/fanfix_swing/gui/SearchBar.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/be/nikiroo/fanfix_swing/gui/SearchBar.java b/src/be/nikiroo/fanfix_swing/gui/SearchBar.java index 2dd45879..eb0c5876 100644 --- a/src/be/nikiroo/fanfix_swing/gui/SearchBar.java +++ b/src/be/nikiroo/fanfix_swing/gui/SearchBar.java @@ -37,6 +37,9 @@ public class SearchBar extends ListenerPanel { public SearchBar() { setLayout(new BorderLayout()); + // TODO: option for this + realTime = true; + search = new JButton(IconGenerator.get(Icon.search, Size.x16)); UiHelper.setButtonPressed(search, realTime); search.addActionListener(new ActionListener() { -- 2.27.0