1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-06 14:52:34 +02:00

Fix crash on closing help window under Windows.

EndModal was being called for a non modal window.  Need to check the fix is OK on Mac and Linux.
This commit is contained in:
James Crook 2016-06-30 23:46:34 +01:00
parent ee60ff37ba
commit 21239d19a1

View File

@ -56,7 +56,7 @@ void BrowserDialog::OnBackward(wxCommandEvent & WXUNUSED(event))
void BrowserDialog::OnClose(wxCommandEvent & WXUNUSED(event))
{
EndModal(wxID_CANCEL);
//EndModal(wxID_CANCEL);
auto parent = GetParent();
#ifdef __WXMAC__