From 93d0f19e3f4a66ab25750561334cda6ad4950a23 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 21 Apr 2020 22:53:33 +0100 Subject: [PATCH] Fix compile error on linux (perhaps all gcc platforms?). --- 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 c9f7561325..ae8210bf49 100644 --- a/eeschema/dialogs/dialog_fields_editor_global.cpp +++ b/eeschema/dialogs/dialog_fields_editor_global.cpp @@ -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( Kiface().KifaceSettings() ); - wxString key = m_dataModel->GetColLabelValue( col ); + std::string key = m_dataModel->GetColLabelValue( col ).ToStdString(); if( cfg->m_FieldEditorPanel.column_widths.count( key ) ) {