Browse Source

Pull request #7274: REPORT-64412 连续选中两次同一选项,编辑框值不对

Merge in DESIGN/design from ~LUCIAN.CHEN/design:feature/x to feature/x

* commit 'f0b8a1770c3e4505b1a8bd37988d208691d522b6':
  REPORT-64412 连续选中两次同一选项,编辑框值不对
feature/x
Lucian.Chen 3 years ago
parent
commit
60306715e5
  1. 7
      designer-base/src/main/java/com/fr/design/gui/icombobox/TableSearchTreeComboBox.java

7
designer-base/src/main/java/com/fr/design/gui/icombobox/TableSearchTreeComboBox.java

@ -56,6 +56,13 @@ public class TableSearchTreeComboBox extends FRTreeComboBox {
return super.pathToString(path);
}
@Override
public void setSelectedItemString(String _name) {
super.setSelectedItemString(_name);
// 会因为连续两次选中的值一致,导致未触发编辑框联动
this.getEditor().setItem(_name);
}
/**
* 执行模糊搜索
*/

Loading…
Cancel
Save