branch develop updated (02a80c2 -> 2c0216b)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository jaxx. See http://git.nuiton.org/jaxx.git from 02a80c2 [jgitflow-maven-plugin]Updating develop poms back to pre merge state new 2c0216b fixes #3601 [TABLE FILTER] uncheck the "all" action when the user starts typing in the search field The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: 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 Summary of changes: .../runtime/swing/table/filter/TableFilterColumnPopup.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
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>.
participants (1)
-
nuiton.org scm