GP-4041 - Fixed a Function Editor bag that caused incorrect custom

storage setting when cancelling the storage editor dialog
This commit is contained in:
dragonmacher
2023-11-14 14:12:57 -05:00
parent 740ed427de
commit 5799c553c2

View File

@@ -52,6 +52,8 @@ class StorageTableCellEditor extends AbstractCellEditor implements TableCellEdit
@Override
public Component getTableCellEditorComponent(final JTable table, Object value,
boolean isSelected, int row, int column) {
storage = null;
String stringValue = value == null ? "" : value.toString();
JTextField field = new JTextField(stringValue);
field.setBackground(getUneditableForegroundColor(isSelected));