This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository jaxx. See http://git.nuiton.org/jaxx.git commit 2c0216bb3465a21130a7b042c84e3ed5a8e4304f Author: Kevin Morin <morin@codelutin.com> Date: Thu Dec 11 15:11:33 2014 +0100 fixes #3601 [TABLE FILTER] uncheck the "all" action when the user starts typing in the search field --- .../runtime/swing/table/filter/TableFilterColumnPopup.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/jaxx-widgets/src/main/java/jaxx/runtime/swing/table/filter/TableFilterColumnPopup.java b/jaxx-widgets/src/main/java/jaxx/runtime/swing/table/filter/TableFilterColumnPopup.java index 1f1e9f4..688eeb3 100644 --- a/jaxx-widgets/src/main/java/jaxx/runtime/swing/table/filter/TableFilterColumnPopup.java +++ b/jaxx-widgets/src/main/java/jaxx/runtime/swing/table/filter/TableFilterColumnPopup.java @@ -45,6 +45,7 @@ import jaxx.runtime.swing.list.filter.FilterableActionCheckListModel; import jaxx.runtime.swing.list.filter.FilterableCheckList; import jaxx.runtime.swing.list.filter.FilterableCheckListModel; import org.apache.commons.collections4.CollectionUtils; +import org.apache.commons.lang3.StringUtils; import org.nuiton.decorator.Decorator; import java.awt.*; @@ -155,7 +156,17 @@ class TableFilterColumnPopup extends MouseAdapter { } private void perform(DocumentEvent e) { - filterList.filter(searchField.getText(), decorator, CheckListFilterType.CONTAINS); + String text = searchField.getText(); + + //#3601 [TABLE FILTER] uncheck the "all" action when the user starts typing in the search field + if (actionsVisible) { + FilterableCheckListModel<Object> model = filterList.getModel(); + if (model.isCheckedIndex(0)) { + model.setCheckedIndex(0, false); + } + + } + filterList.filter(text, decorator, CheckListFilterType.CONTAINS); } }); -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.