PCB Editor: Locked filter unchecked by default
And some minor code style improvement in one place Fixes: https://gitlab.com/kicad/code/kicad/-/issues/13246
This commit is contained in:
parent
d3e513a366
commit
09b83b95d0
|
@ -131,7 +131,7 @@ PROJECT_LOCAL_SETTINGS::PROJECT_LOCAL_SETTINGS( PROJECT* aProject, const wxStrin
|
|||
SetIfPresent( aVal, "otherItems", m_SelectionFilter.otherItems );
|
||||
},
|
||||
{
|
||||
{ "lockedItems", true },
|
||||
{ "lockedItems", false },
|
||||
{ "footprints", true },
|
||||
{ "text", true },
|
||||
{ "tracks", true },
|
||||
|
|
|
@ -279,7 +279,7 @@ FOOTPRINT_EDITOR_SETTINGS::FOOTPRINT_EDITOR_SETTINGS() :
|
|||
SetIfPresent( aVal, "otherItems", m_SelectionFilter.otherItems );
|
||||
},
|
||||
{
|
||||
{ "lockedItems", true },
|
||||
{ "lockedItems", false },
|
||||
{ "footprints", true },
|
||||
{ "text", true },
|
||||
{ "tracks", true },
|
||||
|
|
|
@ -180,19 +180,19 @@ void PANEL_SELECTION_FILTER::onPopupSelection( wxCommandEvent& aEvent )
|
|||
|
||||
void PANEL_SELECTION_FILTER::OnLanguageChanged()
|
||||
{
|
||||
m_cbAllItems->SetLabel( _("All items") );
|
||||
m_cbLockedItems->SetLabel( _("Locked items") );
|
||||
m_cbLockedItems->SetToolTip( _("Allow selection of locked items") );
|
||||
m_cbFootprints->SetLabel( _("Footprints") );
|
||||
m_cbText->SetLabel( _("Text") );
|
||||
m_cbTracks->SetLabel( _("Tracks") );
|
||||
m_cbVias->SetLabel( _("Vias") );
|
||||
m_cbPads->SetLabel( _("Pads") );
|
||||
m_cbGraphics->SetLabel( _("Graphics") );
|
||||
m_cbZones->SetLabel( _("Zones") );
|
||||
m_cbKeepouts->SetLabel( _("Rule Areas") );
|
||||
m_cbDimensions->SetLabel( _("Dimensions") );
|
||||
m_cbOtherItems->SetLabel( _("Other items") );
|
||||
m_cbAllItems->SetLabel( _( "All items" ) );
|
||||
m_cbLockedItems->SetLabel( _( "Locked items" ) );
|
||||
m_cbLockedItems->SetToolTip( _( "Allow selection of locked items" ) );
|
||||
m_cbFootprints->SetLabel( _( "Footprints" ) );
|
||||
m_cbText->SetLabel( _( "Text" ) );
|
||||
m_cbTracks->SetLabel( _( "Tracks" ) );
|
||||
m_cbVias->SetLabel( _( "Vias" ) );
|
||||
m_cbPads->SetLabel( _( "Pads" ) );
|
||||
m_cbGraphics->SetLabel( _( "Graphics" ) );
|
||||
m_cbZones->SetLabel( _( "Zones" ) );
|
||||
m_cbKeepouts->SetLabel( _( "Rule Areas" ) );
|
||||
m_cbDimensions->SetLabel( _( "Dimensions" ) );
|
||||
m_cbOtherItems->SetLabel( _( "Other items" ) );
|
||||
|
||||
m_cbAllItems->GetParent()->Layout();
|
||||
}
|
Loading…
Reference in New Issue