Browse Source

PCB Editor: prevent scroll wheel on track size opening board settings

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/13218
7.0
Mike Williams 3 years ago
parent
commit
6586a2ca66
  1. 1
      pcbnew/edit_track_width.cpp

1
pcbnew/edit_track_width.cpp

@ -182,6 +182,7 @@ void PCB_EDIT_FRAME::Tracks_and_Vias_Size_Event( wxCommandEvent& event )
if( ii == int( m_SelTrackWidthBox->GetCount() - 2 ) )
{
// this is the separator
m_SelTrackWidthBox->SetSelection( GetDesignSettings().GetTrackWidthIndex() );
}
else if( ii == int( m_SelTrackWidthBox->GetCount() - 1 ) )
{

Loading…
Cancel
Save