mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 15:26:49 +01:00
Fix Ignore Module warning
Ignore list label was destroyed when removed, giving a warning when closing the Ignore Window.
This commit is contained in:
@@ -789,6 +789,7 @@ function onClickIgnoreButton()
|
||||
local selection = ignoreListPanel:getFocusedChild()
|
||||
if selection then
|
||||
ignoreListPanel:removeChild(selection)
|
||||
selection:destroy()
|
||||
end
|
||||
if ignoreListPanel:getChildCount() == 0 then
|
||||
removeButton:disable()
|
||||
|
||||
Reference in New Issue
Block a user