diff options
| author | ruki <[email protected]> | 2018-01-23 22:30:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-01-23 09:03:01 +0800 |
| commit | f7c0c7b89a45bf02a3ca3ffee8251d7a09654e41 (patch) | |
| tree | a0992229d26f8f523db4e6c35de9b2f39c0b44bb /xmake/core/ui/button.lua | |
| parent | 2db3a5f053faebb08c3e65e5b097d0de4064ac1e (diff) | |
modify action args
Diffstat (limited to 'xmake/core/ui/button.lua')
| -rw-r--r-- | xmake/core/ui/button.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/ui/button.lua b/xmake/core/ui/button.lua index 9c6e398f9..763dae995 100644 --- a/xmake/core/ui/button.lua +++ b/xmake/core/ui/button.lua @@ -94,7 +94,7 @@ function button:event_on(e) self:application():send(on_action) elseif type(on_action) == "function" then -- do action script - on_action(self, e) + on_action(self) end end return true |
