1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-01 08:29:27 +02:00

a null check

This commit is contained in:
Paul Licameli 2016-12-22 09:38:11 -05:00
parent d9be2be137
commit 37e7b5704a

View File

@ -680,7 +680,8 @@ bool Effect::HideUI()
bool Effect::CloseUI()
{
mUIParent->RemoveEventHandler(this);
if (mUIParent)
mUIParent->RemoveEventHandler(this);
mUIParent = NULL;
mUIDialog = NULL;