default search/filter to realtime
authorNiki Roo <niki@nikiroo.be>
Fri, 10 Apr 2020 07:57:31 +0000 (09:57 +0200)
committerNiki Roo <niki@nikiroo.be>
Fri, 10 Apr 2020 07:57:31 +0000 (09:57 +0200)
src/be/nikiroo/fanfix_swing/gui/SearchBar.java

index 2dd458790448e346e8b1a722c52e619d744f6255..eb0c5876f07b35d852ac5ee63dad40006b4206d8 100644 (file)
@@ -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() {