Fix firstRun special case so we don't continue to check zones.

Also don't leave up zone checking progress reporter after it has
been cancelled.

Fixes https://gitlab.com/kicad/code/kicad/issues/6077
This commit is contained in:
Jeff Young 2020-10-26 12:58:22 +00:00
parent 397f3d07db
commit 9b79272111
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ void DIALOG_CLEANUP_TRACKS_AND_VIAS::doCleanup( bool aDryRun )
m_changesTreeModel->SetProvider( nullptr );
m_items.clear();
m_firstRun = false;
}
// Old model has to be refreshed, GAL normally does not keep updating it