Fix not passing self

This commit is contained in:
Ksaper 2023-02-25 03:30:33 +02:00
parent b300def18c
commit 6439e6d3d6
1 changed files with 4 additions and 4 deletions

View File

@ -259,10 +259,10 @@ local function app_widget(self, app)
end
end
app.run = widget.run
app.run_as_root = widget.run_as_root
app.select = widget.select
app.unselect = widget.unselect
function app:run() widget:run() end
function app:run_as_root() widget:run_as_root() end
function app:select() widget:select() end
function app:unselect() widget:unselect() end
return widget
end