diff --git a/eeschema/dialogs/dialog_symbol_properties.cpp b/eeschema/dialogs/dialog_symbol_properties.cpp index cbc028157c..d3cc2e661f 100644 --- a/eeschema/dialogs/dialog_symbol_properties.cpp +++ b/eeschema/dialogs/dialog_symbol_properties.cpp @@ -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; } diff --git a/pcbnew/footprint_edit_frame.cpp b/pcbnew/footprint_edit_frame.cpp index 5a88d78e06..0236d6a651 100644 --- a/pcbnew/footprint_edit_frame.cpp +++ b/pcbnew/footprint_edit_frame.cpp @@ -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(); diff --git a/pcbnew/pcb_edit_frame.cpp b/pcbnew/pcb_edit_frame.cpp index eacc5dffea..666a53f50f 100644 --- a/pcbnew/pcb_edit_frame.cpp +++ b/pcbnew/pcb_edit_frame.cpp @@ -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();