Browse Source

update

master
xiaohu 9 years ago
parent
commit
30a159a114
  1. 2
      designer_base/src/com/fr/design/editor/editor/ColumnSelectedEditor.java

2
designer_base/src/com/fr/design/editor/editor/ColumnSelectedEditor.java

@ -37,7 +37,7 @@ public class ColumnSelectedEditor extends Editor<SimpleDSColumn> {
@Override
public void itemStateChanged(ItemEvent e) {
//這邊需要重新初始化columnNames, 否則nameList長度和columnNames長度不同導致出錯。
//这边需要重新初始化columnNames, 否则nameList长度和columnNames长度不同导致出錯。
List<String> nameList = tableDataComboBox.getSelectedItem().calculateColumnNameList();
columnNames = new String[nameList.size()];
columnNames = tableDataComboBox.getSelectedItem().calculateColumnNameList().toArray(columnNames);

Loading…
Cancel
Save