|
|
|
@ -187,7 +187,8 @@ public abstract class CellQuickEditor extends QuickEditor<ElementCasePane> {
|
|
|
|
|
selectedIndex = comboBox.getSelectedIndex(); |
|
|
|
|
comboBox.setPopupVisible(false); |
|
|
|
|
comboBox.repaint(); |
|
|
|
|
if (selectedIndex < cellInsertActions.length) { |
|
|
|
|
// comboBox.getSelectedIndex()可能返回-1
|
|
|
|
|
if (selectedIndex != -1 && selectedIndex < cellInsertActions.length) { |
|
|
|
|
cellInsertActions[selectedIndex].actionPerformed(e); |
|
|
|
|
} |
|
|
|
|
comboBox.setSelectedIndex(currentSelectedIndex); |
|
|
|
|