summaryrefslogtreecommitdiff
path: root/xmake/core/ui/panel.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-01-13 22:30:39 +0800
committerruki <[email protected]>2018-01-13 22:30:39 +0800
commita5e736899e441c3c93e8bbece028ed16b98dbb1c (patch)
treeaa52fc5af6647cd0e53274a9a27a6f80840f09e5 /xmake/core/ui/panel.lua
parentbb8a982842b1a447b3da54538a8b245888ccbd86 (diff)
add action to button and view
Diffstat (limited to 'xmake/core/ui/panel.lua')
-rw-r--r--xmake/core/ui/panel.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/xmake/core/ui/panel.lua b/xmake/core/ui/panel.lua
index 417f1d725..f163ee483 100644
--- a/xmake/core/ui/panel.lua
+++ b/xmake/core/ui/panel.lua
@@ -126,9 +126,6 @@ function panel:insert(v, opt)
-- set it's parent view
v:parent_set(self)
- -- set application
- v:application_set(self:application())
-
-- select this view
if v:option("selectable") then
self:select(v)