From 61f28f0958016c88ff7a77e8741c765671127ae2 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Tue, 21 Apr 2020 19:29:34 -0400 Subject: [PATCH] Fix build error on gcc --- eeschema/dialogs/dialog_fields_editor_global.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/dialogs/dialog_fields_editor_global.cpp b/eeschema/dialogs/dialog_fields_editor_global.cpp index ae8210bf49..ad14dd0060 100644 --- a/eeschema/dialogs/dialog_fields_editor_global.cpp +++ b/eeschema/dialogs/dialog_fields_editor_global.cpp @@ -1102,7 +1102,7 @@ void DIALOG_FIELDS_EDITOR_GLOBAL::OnTableColSize( wxGridSizeEvent& aEvent ) wxString key = m_grid->GetColLabelValue( col ); if( m_grid->GetColSize( col ) ) - cfg->m_FieldEditorPanel.column_widths[ key ] = m_grid->GetColSize( col ); + cfg->m_FieldEditorPanel.column_widths[ key.ToStdString() ] = m_grid->GetColSize( col ); aEvent.Skip(); }