mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-26 09:28:07 +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:
parent
ee60ff37ba
commit
21239d19a1
@ -56,7 +56,7 @@ void BrowserDialog::OnBackward(wxCommandEvent & WXUNUSED(event))
|
|||||||
|
|
||||||
void BrowserDialog::OnClose(wxCommandEvent & WXUNUSED(event))
|
void BrowserDialog::OnClose(wxCommandEvent & WXUNUSED(event))
|
||||||
{
|
{
|
||||||
EndModal(wxID_CANCEL);
|
//EndModal(wxID_CANCEL);
|
||||||
auto parent = GetParent();
|
auto parent = GetParent();
|
||||||
|
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user