Hackfix crash in configure paths using non-ascii chars in column headers
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17743
This commit is contained in:
parent
d8d816236c
commit
a565db58c5
|
@ -71,7 +71,11 @@ DIALOG_CONFIGURE_PATHS::DIALOG_CONFIGURE_PATHS( wxWindow* aParent ) :
|
|||
m_EnvVars->ClearRows();
|
||||
m_EnvVars->AppendCols( 1 ); // for the isExternal flags
|
||||
m_EnvVars->HideCol( TV_FLAG_COL );
|
||||
#ifndef __WXMAC__
|
||||
// macos crashes on languages at least using non-ascii characters for the column header here of all places
|
||||
// if we use native column headers, so guard it for windows to still look nice
|
||||
m_EnvVars->UseNativeColHeader( true );
|
||||
#endif
|
||||
|
||||
wxGridCellAttr* attr = new wxGridCellAttr;
|
||||
attr->SetEditor( new GRID_CELL_PATH_EDITOR( this, m_EnvVars, &m_curdir, wxEmptyString ) );
|
||||
|
|
Loading…
Reference in New Issue