PCB Editor: prevent scroll wheel on track size opening board settings
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/13218
This commit is contained in:
parent
dc791fa955
commit
6586a2ca66
|
@ -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…
Reference in New Issue