Solve #213 remove late init for progress bar

This commit is contained in:
Insality 2022-11-09 20:21:06 +02:00
parent fadd0c4c4b
commit 337a43ae08

View File

@ -121,11 +121,7 @@ function Progress.init(self, node, key, init_value)
end end
self.on_change = Event() self.on_change = Event()
end
-- @tparam Progress self @{Progress}
function Progress.on_late_init(self)
self:set_to(self.last_value) self:set_to(self.last_value)
end end