Update Selection Filter title bar with language changes.
Fixes https://gitlab.com/kicad/code/kicad/issues/11421
This commit is contained in:
parent
ffc28f23e5
commit
4ab2c93070
|
@ -615,8 +615,6 @@ bool DIALOG_SYMBOL_PROPERTIES::TransferDataFromWindow()
|
|||
return false;
|
||||
|
||||
SCH_SCREEN* currentScreen = GetParent()->GetScreen();
|
||||
SCHEMATIC& schematic = GetParent()->Schematic();
|
||||
|
||||
wxCHECK( currentScreen, false );
|
||||
|
||||
// This needs to be done before the LIB_ID is changed to prevent stale library symbols in
|
||||
|
@ -653,7 +651,7 @@ bool DIALOG_SYMBOL_PROPERTIES::TransferDataFromWindow()
|
|||
|
||||
switch( m_mirrorCtrl->GetSelection() )
|
||||
{
|
||||
case 0: break;
|
||||
case 0: break;
|
||||
case 1: m_symbol->SetOrientation( SYM_MIRROR_X ); break;
|
||||
case 2: m_symbol->SetOrientation( SYM_MIRROR_Y ); break;
|
||||
}
|
||||
|
|
|
@ -800,6 +800,8 @@ void FOOTPRINT_EDIT_FRAME::ShowChangedLanguage()
|
|||
wxAuiPaneInfo& lm_pane_info = m_auimgr.GetPane( m_appearancePanel );
|
||||
bool lm_shown = lm_pane_info.IsShown();
|
||||
lm_pane_info.Caption( _( "Appearance" ) );
|
||||
wxAuiPaneInfo& sf_pane_info = m_auimgr.GetPane( m_selectionFilterPanel );
|
||||
sf_pane_info.Caption( _( "Selection Filter" ) );
|
||||
|
||||
// update the layer manager
|
||||
m_appearancePanel->OnLanguageChanged();
|
||||
|
|
|
@ -1298,8 +1298,10 @@ void PCB_EDIT_FRAME::ShowChangedLanguage()
|
|||
// call my base class
|
||||
PCB_BASE_EDIT_FRAME::ShowChangedLanguage();
|
||||
|
||||
wxAuiPaneInfo& pane_info = m_auimgr.GetPane( m_appearancePanel );
|
||||
pane_info.Caption( _( "Appearance" ) );
|
||||
wxAuiPaneInfo& ap_pane_info = m_auimgr.GetPane( m_appearancePanel );
|
||||
ap_pane_info.Caption( _( "Appearance" ) );
|
||||
wxAuiPaneInfo& sf_pane_info = m_auimgr.GetPane( m_selectionFilterPanel );
|
||||
sf_pane_info.Caption( _( "Selection Filter" ) );
|
||||
m_auimgr.Update();
|
||||
|
||||
m_appearancePanel->OnLanguageChanged();
|
||||
|
|
Loading…
Reference in New Issue