Browse Source

Pull request #5413: REPORT-57658 处理odbc链接的共存关系

Merge in DESIGN/design from ~XIQIU/design:feature/10.0 to feature/10.0

* commit '2d6f8e8878951b7e35098c98dec8ff838dd4c286':
  REPORT-57658   处理odbc链接的共存关系
feature/10.0
Xiqiu 3 years ago
parent
commit
d7f3547e79
  1. 6
      designer-base/src/main/java/com/fr/design/data/datapane/connect/JDBCDefPane.java

6
designer-base/src/main/java/com/fr/design/data/datapane/connect/JDBCDefPane.java

@ -185,6 +185,12 @@ public class JDBCDefPane extends JPanel {
driverManageLabel.setVisible(selectSelfDefine);
driverLoaderBox.setVisible(selectSelfDefine);
driverComboBox.setVisible(!selectSelfDefine);
// 选中自定义的话,将odbc的屏蔽,选中默认的话,重新触发一次driverComboBox的事件
if (selectSelfDefine) {
odbcTipsLink.setVisible(false);
} else {
driverComboBox.setSelectedItem(driverComboBox.getSelectedItem());
}
}
};
ActionListener dbtypeActionListener = new ActionListener() {

Loading…
Cancel
Save