|
|
|
@ -41,7 +41,7 @@ public class ColumnSelectedEditor extends Editor<SimpleDSColumn> {
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
//这边需要重新初始化columnNames, 否则nameList长度和columnNames长度不同导致出錯。
|
|
|
|
|
List<String> nameList = tableDataComboBox.getSelectedItem().calculateColumnNameList(); |
|
|
|
|
List<String> nameList = tableDataWrapper.calculateColumnNameList(); |
|
|
|
|
columnNames = new String[nameList.size()]; |
|
|
|
|
columnNames = tableDataComboBox.getSelectedItem().calculateColumnNameList().toArray(columnNames); |
|
|
|
|
columnNameComboBox.removeAllItems(); |
|
|
|
|