modules/menusystem: invalidate widget's canvas when using its action
This commit is contained in:
parent
a6b1f2da59
commit
a370cefcd7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue