Code formatting fixes for 3d177e9c

This commit is contained in:
Maciej Suminski 2018-01-17 10:34:38 +01:00
parent 3d177e9c2a
commit c1649b1138
1 changed files with 4 additions and 1 deletions

View File

@ -585,13 +585,16 @@ void DIALOG_DRC_CONTROL::OnUnconnectedSelectionEvent( wxCommandEvent& event )
void DIALOG_DRC_CONTROL::RedrawDrawPanel()
{
int freezeCount = 0;
while( m_brdEditor->IsFrozen() )
{
m_brdEditor->Thaw();
freezeCount++;
}
m_brdEditor->GetCanvas()->Refresh();
while( freezeCount > 0)
while( freezeCount > 0 )
{
m_brdEditor->Freeze();
freezeCount--;