Preferences: reset tools after grid changes

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/15522
This commit is contained in:
Mike Williams 2023-08-28 08:14:55 -04:00
parent 4325f4e038
commit b5cfd91268
1 changed files with 2 additions and 0 deletions

View File

@ -1216,6 +1216,8 @@ void EDA_BASE_FRAME::ShowPreferences( wxString aStartPage, wxString aStartParent
if( dlg.ShowModal() == wxID_OK )
{
// Update our grids that are cached in the tool
m_toolManager->ResetTools( TOOL_BASE::REDRAW );
Pgm().GetSettingsManager().Save();
dlg.Kiway().CommonSettingsChanged( false, false );
}