listbox debugging

This commit is contained in:
Mikayla
2024-08-16 21:17:36 +00:00
parent 5597ea2097
commit affe2d6c6d
2 changed files with 9 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
--
local util = require("scada-common.util")
local log = require("scada-common.log")
local core = require("graphics.core")
@@ -503,7 +504,10 @@ function element.new(args, constraint, child_offset_x, child_offset_y)
if args.parent ~= nil then
-- remove self from parent
log.debug("removing " .. self.id .. " from parent")
args.parent.__remove_child(self.id)
else
log.debug("no parent for " .. self.id .. " on delete attempt")
end
end