1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-28 00:00:18 +01:00

Enh66: Windows and Linux still Non-Modal

As we EndModal on windows, we must ShowModal too.
This commit is contained in:
James Crook
2016-06-20 23:26:21 +01:00
parent bb3b5a27be
commit 41f9f506c0

View File

@@ -6602,8 +6602,14 @@ void AudacityProject::OnRemoveTracks()
void AudacityProject::OnAbout()
{
#ifdef __WXMAC__
// Modeless dialog, consistent with other Mac applications
(safenew AboutDialog{ nullptr })->Show(true);
#else
// Windows and Linux still modal.
AboutDialog dlog(this);
dlog.ShowModal();
#endif
}
void AudacityProject::OnHelpWelcome()