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