mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
Fix library table editor dialog environment variable grid column names.
Fixes lp:1825977 https://bugs.launchpad.net/kicad/+bug/1828459
This commit is contained in:
parent
b9a17b928a
commit
6f27ef7f66
@ -223,6 +223,9 @@ PANEL_SYM_LIB_TABLE::PANEL_SYM_LIB_TABLE( DIALOG_EDIT_LIBRARY_TABLES* aParent,
|
||||
m_auinotebook->SetSelection( m_pageNdx );
|
||||
m_cur_grid = ( m_pageNdx == 0 ) ? m_global_grid : m_project_grid;
|
||||
|
||||
m_path_subs_grid->SetColLabelValue( 0, _( "Name" ) );
|
||||
m_path_subs_grid->SetColLabelValue( 1, _( "Value" ) );
|
||||
|
||||
// for ALT+A handling, we want the initial focus to be on the first selected grid.
|
||||
m_parent->SetInitialFocus( m_cur_grid );
|
||||
|
||||
|
@ -340,6 +340,9 @@ PANEL_FP_LIB_TABLE::PANEL_FP_LIB_TABLE( DIALOG_EDIT_LIBRARY_TABLES* aParent,
|
||||
g->SetColSize( COL_OPTIONS, 80 );
|
||||
}
|
||||
|
||||
m_path_subs_grid->SetColLabelValue( 0, _( "Name" ) );
|
||||
m_path_subs_grid->SetColLabelValue( 1, _( "Value" ) );
|
||||
|
||||
// select the last selected page
|
||||
m_auinotebook->SetSelection( m_pageNdx );
|
||||
m_cur_grid = ( m_pageNdx == 0 ) ? m_global_grid : m_project_grid;
|
||||
|
Loading…
x
Reference in New Issue
Block a user