mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
Fix bug where 'Applying chain to project' progress dialog might not show.
- Windows needs to wxYield, to give the dialog time to show after being created.
This commit is contained in:
parent
6b54ffdf0f
commit
f41e781c61
@ -199,6 +199,9 @@ void BatchProcessDialog::ApplyChainToProject( int iChain, bool bHasGui )
|
||||
pD->Move(wxMax(0,x-300), 0);
|
||||
pD->Show();
|
||||
|
||||
// Without this the newly created dialog may not show completely.
|
||||
wxYield();
|
||||
|
||||
// The Hide() on the next line seems to tickle a bug in wx3,
|
||||
// giving rise to our Bug #1221. The problem is that on Linux
|
||||
// the 'Hide' converts us from a Modal into a regular dialog,
|
||||
|
Loading…
x
Reference in New Issue
Block a user