Skip to content
Snippets Groups Projects
Commit 0b0e2b6f authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@4701 51575b47-30f0-44d4-a5cc-537603b46e54
parent bc829b2e
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ function _M:init(chat, on_end)
local list = self:getTargets()
self.c_list_text = Textzone.new{auto_width=true, auto_height=true, text="Target: "}
self.c_list = Dropdown.new{width=250, fct=function(item) self:checkTarget(item.id..":") self:setFocus(c_box) end, list=list, nb_items=math.min(#list, 10), scrollbar=true}
self.c_list = Dropdown.new{width=250, fct=function(item) if not item then return end self:checkTarget(item.id..":") self:setFocus(c_box) end, list=list, nb_items=math.min(#list, 10), scrollbar=true}
self:loadUI{
{left=0, top=0, ui=self.c_box},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment