modules/menusystem: invalidate widget's canvas when using its action

This commit is contained in:
Kazhnuz 2019-04-13 14:25:54 +02:00
parent a6b1f2da59
commit a370cefcd7

View file

@ -140,8 +140,8 @@ end
function widgets.Switch:action() function widgets.Switch:action()
self:modifyKey() self:modifyKey()
self.label2 = self:getLabel() self.label2 = self:getLabel()
self.needRedraw = true
core.options:write() core.options:write()
self:invalidateCanvas()
end end