1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 23:59:41 +02:00

Bug 2703 - Mac: EGAT preview dialog is hidden behind the EGAT dialo

This commit is contained in:
Leland Lucius 2021-03-28 22:56:57 -05:00
parent ff60f598f3
commit 895c527b6a

View File

@ -1157,7 +1157,12 @@ bool ProgressDialog::Create(const TranslatableString & title,
{
Init();
wxWindow *parent = GetParentForModalDialog(NULL, 0);
wxWindow *parent =
#if defined(__WXMAC__),
GetParentForModalDialog(mHadFocus, 0);
#else
GetParentForModalDialog(nullptr, 0);
#endif
// Set this boolean to indicate if we are using the "Elapsed" labels
m_bShowElapsedTime = !(flags & pdlgHideElapsedTime);