mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
Allow display of each new phase
KeepRefreshing is gated so if we get a bunch of phases in a row, they won't be shown until you get past a slower phase. By yielding here, we ensure that the dialog is updated and the user knows which phase of DRC they are on.
This commit is contained in:
parent
8746313ce3
commit
ae4ef7c062
@ -1715,7 +1715,9 @@ bool DRC_ENGINE::ReportPhase( const wxString& aMessage )
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
m_progressReporter->AdvancePhase( aMessage );
|
m_progressReporter->AdvancePhase( aMessage );
|
||||||
return m_progressReporter->KeepRefreshing( false );
|
bool retval = m_progressReporter->KeepRefreshing( false );
|
||||||
|
wxSafeYield( nullptr, true ); // Force an update for the message
|
||||||
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user