git://git.nikiroo.be
/
fanfix-jexer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89c5b3e
)
default search/filter to realtime
author
Niki Roo
<niki@nikiroo.be>
Fri, 10 Apr 2020 07:57:31 +0000
(09:57 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Fri, 10 Apr 2020 07:57:31 +0000
(09:57 +0200)
src/be/nikiroo/fanfix_swing/gui/SearchBar.java
patch
|
blob
|
blame
|
history
diff --git
a/src/be/nikiroo/fanfix_swing/gui/SearchBar.java
b/src/be/nikiroo/fanfix_swing/gui/SearchBar.java
index 2dd458790448e346e8b1a722c52e619d744f6255..eb0c5876f07b35d852ac5ee63dad40006b4206d8 100644
(file)
--- 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() {