Fix missing line keeping tabs from switching.

Fixes https://gitlab.com/kicad/code/kicad/issues/11417
This commit is contained in:
Jeff Young 2022-04-20 14:50:25 +01:00
parent fb1e1aec9a
commit fc2eb2d7c9
1 changed files with 3 additions and 0 deletions

View File

@ -469,7 +469,10 @@ void DIALOG_LIB_SYMBOL_PROPERTIES::OnSymbolNameKillFocus( wxFocusEvent& event )
m_delayedFocusPage = 0; m_delayedFocusPage = 0;
if( m_SymbolNameCtrl->GetValidator()->Validate( m_SymbolNameCtrl ) ) if( m_SymbolNameCtrl->GetValidator()->Validate( m_SymbolNameCtrl ) )
{
m_delayedFocusCtrl = nullptr; m_delayedFocusCtrl = nullptr;
m_delayedFocusPage = -1;
}
} }
event.Skip(); event.Skip();