summaryrefslogtreecommitdiff
path: root/xmake/core/ui/panel.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-02-03 17:30:06 +0800
committerruki <[email protected]>2018-02-03 17:30:06 +0800
commite2fa783bbb4f2b2eaa45b6c57dea664982b53931 (patch)
treeaa04e5430bab079c15756013cd1ddb3e2bfda5fc /xmake/core/ui/panel.lua
parent59c54d54023e4bf9f47095dada02497747f5e0a7 (diff)
fix show result dialog in mconfdialog
Diffstat (limited to 'xmake/core/ui/panel.lua')
-rw-r--r--xmake/core/ui/panel.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/ui/panel.lua b/xmake/core/ui/panel.lua
index 2cc092664..b403f339d 100644
--- a/xmake/core/ui/panel.lua
+++ b/xmake/core/ui/panel.lua
@@ -98,7 +98,7 @@ function panel:insert(v, opt)
-- check
assert(not v:parent() or v:parent() == self)
- assert(not self:view(v:name()), "%s has been in this panel!", v)
+ assert(not self:view(v:name()), v:name() .. " has been in this panel!")
-- this view has been inserted into this panel? remove it first
if v:parent() == self then