mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 17:09:26 +02:00
Fix ASSERT opening FFmpeg Options Dialog.
Was caused by passing a non hWnd window to the ExportOptions constructor.
This commit is contained in:
parent
6656506529
commit
481370b7b3
@ -62,6 +62,7 @@
|
||||
#include "../Tags.h"
|
||||
#include "../TranslatableStringArray.h"
|
||||
#include "../widgets/ErrorDialog.h"
|
||||
#include "../AudacityApp.h"
|
||||
|
||||
#include "Export.h"
|
||||
|
||||
@ -468,8 +469,8 @@ void ExportFFmpegCustomOptions::OnOpen(wxCommandEvent & WXUNUSED(evt))
|
||||
}
|
||||
}
|
||||
DropFFmpegLibs();
|
||||
|
||||
ExportFFmpegOptions od(wxGetTopLevelParent(this));
|
||||
auto pWin = wxGetApp().GetTopWindow();
|
||||
ExportFFmpegOptions od(pWin);
|
||||
od.ShowModal();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user