Fix incorrect (missing) initialisation of m_cur_grid in symbols libraries table dialog box
This commit is contained in:
parent
3ac87f6969
commit
21c104fcc7
|
@ -202,9 +202,15 @@ DIALOG_SYMBOL_LIB_TABLE::DIALOG_SYMBOL_LIB_TABLE( wxTopLevelWindow* aParent,
|
||||||
|
|
||||||
// for ALT+A handling, we want the initial focus to be on the first selected grid.
|
// for ALT+A handling, we want the initial focus to be on the first selected grid.
|
||||||
if( m_pageNdx == 0 )
|
if( m_pageNdx == 0 )
|
||||||
|
{
|
||||||
m_global_grid->SetFocus();
|
m_global_grid->SetFocus();
|
||||||
|
m_cur_grid = m_global_grid;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
m_project_grid->SetFocus();
|
m_project_grid->SetFocus();
|
||||||
|
m_cur_grid = m_project_grid;
|
||||||
|
}
|
||||||
|
|
||||||
// On some window managers (Unity, XFCE), this dialog is
|
// On some window managers (Unity, XFCE), this dialog is
|
||||||
// not always raised, depending on this dialog is run.
|
// not always raised, depending on this dialog is run.
|
||||||
|
|
Loading…
Reference in New Issue