Browse Source

Fix bug in selecting grid size in Pcbnew.

Fixes: lp:1831337
* https://bugs.launchpad.net/kicad/+bug/1831337
pull/15/head
Jeff Young 6 years ago
parent
commit
3e655801b5
  1. 2
      common/legacy_gal/eda_draw_frame.cpp

2
common/legacy_gal/eda_draw_frame.cpp

@ -378,7 +378,7 @@ void EDA_DRAW_FRAME::OnSelectGrid( wxCommandEvent& event )
}
else if( id >= ID_POPUP_GRID_FIRST && id < ID_POPUP_GRID_SEPARATOR )
{
m_toolManager->RunAction( ACTIONS::gridPreset, true, id );
m_toolManager->RunAction( ACTIONS::gridPreset, true, id - ID_POPUP_GRID_FIRST );
}
UpdateStatusBar();

Loading…
Cancel
Save