Skip to content
Snippets Groups Projects
Commit 030723e9 authored by Thilbault Piketty's avatar Thilbault Piketty
Browse files

tree search with empty value TANGOARCH-630

parent 410a50a8
No related branches found
No related tags found
No related merge requests found
...@@ -81,8 +81,10 @@ public class MatchPossibleContextAttributesAction extends BensikinAction { ...@@ -81,8 +81,10 @@ public class MatchPossibleContextAttributesAction extends BensikinAction {
@Override @Override
public void actionPerformed(final ActionEvent evt) { public void actionPerformed(final ActionEvent evt) {
final String pattern = ContextAttributesPanel.getInstance().getLeftTreeBox().getRegExp(); String pattern = ContextAttributesPanel.getInstance().getLeftTreeBox().getRegExp();
if (pattern.isEmpty()) {
pattern = "*";
}
try { try {
final PossibleAttributesTree tree = PossibleAttributesTree.getInstance(); final PossibleAttributesTree tree = PossibleAttributesTree.getInstance();
final PossibleAttributesTreeModel model = (PossibleAttributesTreeModel) tree.getModel(); final PossibleAttributesTreeModel model = (PossibleAttributesTreeModel) tree.getModel();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment