mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 08:29:27 +02:00
a null check
This commit is contained in:
parent
d9be2be137
commit
37e7b5704a
@ -680,7 +680,8 @@ bool Effect::HideUI()
|
||||
|
||||
bool Effect::CloseUI()
|
||||
{
|
||||
mUIParent->RemoveEventHandler(this);
|
||||
if (mUIParent)
|
||||
mUIParent->RemoveEventHandler(this);
|
||||
|
||||
mUIParent = NULL;
|
||||
mUIDialog = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user