double click funcionalities and some fixes

This commit is contained in:
Andre Ricca da Costa
2012-02-03 04:20:58 -02:00
parent 1340699b01
commit 882b7ec026
5 changed files with 15 additions and 1 deletions

View File

@@ -55,6 +55,9 @@ function VipList.onAddVip(id, name, online)
label.vipOnline = online
label:setPhantom(false)
connect(label, { onMouseDoubleClick = function () Game.openPrivateChannel(label:getText()) return true end } )
local nameLower = name:lower()
local childrenCount = vipList:getChildCount()