diff options
| author | ruki <[email protected]> | 2018-01-26 22:18:08 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-01-26 07:48:52 +0800 |
| commit | 019c81967d55a77950d0249d6d5674bbdb193796 (patch) | |
| tree | 7939fcaca646d5c61367eade1ec263a730f14312 /xmake/core/ui/view.lua | |
| parent | 7d775a7dc5dc064c629e63a7e06249cebbfc8e11 (diff) | |
improve string input dialog in mconfdialog
Diffstat (limited to 'xmake/core/ui/view.lua')
| -rw-r--r-- | xmake/core/ui/view.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/ui/view.lua b/xmake/core/ui/view.lua index b49e53d66..f409fbd29 100644 --- a/xmake/core/ui/view.lua +++ b/xmake/core/ui/view.lua @@ -365,7 +365,7 @@ function view:action_set(name, on_action) end -- do action -function view:action_on(name) +function view:action_on(name, ...) local on_action = self:action(name) if on_action then if type(on_action) == "string" then @@ -375,7 +375,7 @@ function view:action_on(name) end elseif type(on_action) == "function" then -- do action script - on_action(self) + on_action(self, ...) end end end |
