Browse Source

REPORT-63675

bugfix/11.0
方磊 3 years ago
parent
commit
ea39f1b447
  1. 4
      designer-base/src/main/java/com/fr/design/gui/frpane/JTreeAutoBuildPane.java

4
designer-base/src/main/java/com/fr/design/gui/frpane/JTreeAutoBuildPane.java

@ -244,11 +244,11 @@ public class JTreeAutoBuildPane extends BasicPane implements PreviewLabel.Previe
} }
final String tableDataName = name; final String tableDataName = name;
AbstractTableDataWrapper atdw = new TemplateTableDataWrapper(rtd, ""); AbstractTableDataWrapper atdw = new TemplateTableDataWrapper(rtd, "");
// 去除缓存列,后面刷新会重新选中
DesignTableDataManager.removeSelectedColumnNames(name);
tdtp.showEditPane(atdw.creatTableDataPane(), name, new BasicTableDataTreePane.TableDataTreePaneListener() { tdtp.showEditPane(atdw.creatTableDataPane(), name, new BasicTableDataTreePane.TableDataTreePaneListener() {
@Override @Override
public void doOk() { public void doOk() {
// 去除缓存列,后面刷新会重新选中
DesignTableDataManager.removeSelectedColumnNames(tableDataName);
treeTableDataComboBox.refresh(); treeTableDataComboBox.refresh();
treeTableDataComboBox.setSelectedTableDataByName(tableDataName); treeTableDataComboBox.setSelectedTableDataByName(tableDataName);
} }

Loading…
Cancel
Save