Browse Source

Quiet wxWidgets assert (KICAD-HRE).

pull/18/head
Jeff Young 4 months ago
parent
commit
f0c3f469a1
  1. 5
      common/widgets/wx_grid.cpp

5
common/widgets/wx_grid.cpp

@ -397,6 +397,11 @@ void WX_GRID::onCellEditorHidden( wxGridEvent& aEvent )
CallAfter(
[this, row, col, isNullable, unitsProvider, cellDataType]()
{
// Careful; if called from CommitPendingChange() in a delete operation, the cell may
// no longer exist.
if( row >= GetNumberRows() || col >= GetNumberCols() )
return;
wxString stringValue = GetCellValue( row, col );
bool processedOk = true;

Loading…
Cancel
Save