Fix Ignore Module warning
Ignore list label was destroyed when removed, giving a warning when closing the Ignore Window.
This commit is contained in:
parent
59594b4ac2
commit
74d3214f74
|
@ -789,6 +789,7 @@ function onClickIgnoreButton()
|
||||||
local selection = ignoreListPanel:getFocusedChild()
|
local selection = ignoreListPanel:getFocusedChild()
|
||||||
if selection then
|
if selection then
|
||||||
ignoreListPanel:removeChild(selection)
|
ignoreListPanel:removeChild(selection)
|
||||||
|
selection:destroy()
|
||||||
end
|
end
|
||||||
if ignoreListPanel:getChildCount() == 0 then
|
if ignoreListPanel:getChildCount() == 0 then
|
||||||
removeButton:disable()
|
removeButton:disable()
|
||||||
|
|
Loading…
Reference in New Issue