summaryrefslogtreecommitdiff
path: root/xmake/core/ui/button.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/ui/button.lua')
-rw-r--r--xmake/core/ui/button.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/ui/button.lua b/xmake/core/ui/button.lua
index 0464c8617..b78c0bc11 100644
--- a/xmake/core/ui/button.lua
+++ b/xmake/core/ui/button.lua
@@ -31,7 +31,7 @@ local curses = require("ui/curses")
local button = button or label()
-- init button
-function button:init(name, bounds, text)
+function button:init(name, bounds, text, command)
-- init label
label.init(self, name, bounds, text)