When switching to another token type, the underlying table data changes. The TableCellEditor is tied to a specific cell though and if it is not closed before changing the underlying data, that can cause data loss and/or NullReferenceExceptions.
The solution is to use the finalizeCellEditing method to close and apply the data before switching the table data.
Possible Drawbacks
No drawbacks known
Release Notes
fix crash when trying to switch token types while editing the data of a token.
Identify the Bug or Feature request
fixes #4650
Description of the Change
When switching to another token type, the underlying table data changes. The TableCellEditor is tied to a specific cell though and if it is not closed before changing the underlying data, that can cause data loss and/or NullReferenceExceptions. The solution is to use the finalizeCellEditing method to close and apply the data before switching the table data.
Possible Drawbacks
No drawbacks known
Release Notes
This change is