mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-24 17:41:13 +01:00
a null check
This commit is contained in:
@@ -680,6 +680,7 @@ bool Effect::HideUI()
|
|||||||
|
|
||||||
bool Effect::CloseUI()
|
bool Effect::CloseUI()
|
||||||
{
|
{
|
||||||
|
if (mUIParent)
|
||||||
mUIParent->RemoveEventHandler(this);
|
mUIParent->RemoveEventHandler(this);
|
||||||
|
|
||||||
mUIParent = NULL;
|
mUIParent = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user