Fix compile error on linux (perhaps all gcc platforms?).

This commit is contained in:
Jeff Young 2020-04-21 22:53:33 +01:00
parent f3a2495757
commit 93d0f19e3f
1 changed files with 1 additions and 1 deletions

View File

@ -769,7 +769,7 @@ DIALOG_FIELDS_EDITOR_GLOBAL::DIALOG_FIELDS_EDITOR_GLOBAL( SCH_EDIT_FRAME* parent
if( m_grid->IsColShown( col ) )
{
EESCHEMA_SETTINGS* cfg = static_cast<EESCHEMA_SETTINGS*>( Kiface().KifaceSettings() );
wxString key = m_dataModel->GetColLabelValue( col );
std::string key = m_dataModel->GetColLabelValue( col ).ToStdString();
if( cfg->m_FieldEditorPanel.column_widths.count( key ) )
{