Fix not passing self
This commit is contained in:
parent
b300def18c
commit
6439e6d3d6
|
@ -259,10 +259,10 @@ local function app_widget(self, app)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
app.run = widget.run
|
function app:run() widget:run() end
|
||||||
app.run_as_root = widget.run_as_root
|
function app:run_as_root() widget:run_as_root() end
|
||||||
app.select = widget.select
|
function app:select() widget:select() end
|
||||||
app.unselect = widget.unselect
|
function app:unselect() widget:unselect() end
|
||||||
|
|
||||||
return widget
|
return widget
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue