1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-21 23:00:06 +02:00
This commit is contained in:
Leland Lucius 2015-08-09 21:35:14 -05:00
parent f08c5245f6
commit f342ae8836

View File

@ -298,6 +298,7 @@ END_EVENT_TABLE()
Exporter::Exporter()
{
mMixerSpec = NULL;
mBook = NULL;
SetFileDialogTitle( _("Export Audio") );
@ -902,7 +903,8 @@ void Exporter::OnFilterChanged(wxFileCtrlEvent & evt)
{
int index = evt.GetFilterIndex();
if (index < 0 || index >= (int) mBook->GetPageCount())
// On GTK, this event can fire before the userpane is created
if (mBook == NULL || index < 0 || index >= (int) mBook->GetPageCount())
{
return;
}