Fix compile error on linux (perhaps all gcc platforms?).
This commit is contained in:
parent
f3a2495757
commit
93d0f19e3f
|
@ -769,7 +769,7 @@ DIALOG_FIELDS_EDITOR_GLOBAL::DIALOG_FIELDS_EDITOR_GLOBAL( SCH_EDIT_FRAME* parent
|
||||||
if( m_grid->IsColShown( col ) )
|
if( m_grid->IsColShown( col ) )
|
||||||
{
|
{
|
||||||
EESCHEMA_SETTINGS* cfg = static_cast<EESCHEMA_SETTINGS*>( Kiface().KifaceSettings() );
|
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 ) )
|
if( cfg->m_FieldEditorPanel.column_widths.count( key ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue