1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-24 17:41:13 +01: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,6 +680,7 @@ bool Effect::HideUI()
bool Effect::CloseUI() bool Effect::CloseUI()
{ {
if (mUIParent)
mUIParent->RemoveEventHandler(this); mUIParent->RemoveEventHandler(this);
mUIParent = NULL; mUIParent = NULL;