Code formatting fixes for 3d177e9c
This commit is contained in:
parent
3d177e9c2a
commit
c1649b1138
|
@ -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--;
|
||||
|
|
Loading…
Reference in New Issue