Call Layout OnSizeGrid

Fixes https://gitlab.com/kicad/code/kicad/issues/5690
This commit is contained in:
Mario Luzeiro 2021-03-15 23:41:05 +00:00 committed by Seth Hillbrand
parent 48bd564639
commit 4e63aefaab
1 changed files with 1 additions and 0 deletions

View File

@ -1048,6 +1048,7 @@ void DIALOG_SYMBOL_PROPERTIES::OnSizeGrid( wxSizeEvent& event )
if( m_width != new_size ) if( m_width != new_size )
{ {
AdjustGridColumns( new_size ); AdjustGridColumns( new_size );
Layout();
} }
// Always propagate for a grid repaint (needed if the height changes, as well as width) // Always propagate for a grid repaint (needed if the height changes, as well as width)