update TODO, rename onMouseDoubleClick to onDoubleClick

This commit is contained in:
Eduardo Bart
2012-02-04 15:04:44 -02:00
parent 91a7ed8371
commit cc081d8151
6 changed files with 33 additions and 45 deletions

View File

@@ -78,7 +78,7 @@ function CharacterList.create(characters, premDays)
label.worldHost = worldHost
label.worldPort = worldIp
connect(label, { onMouseDoubleClick = function () CharacterList.doLogin() return true end } )
connect(label, { onDoubleClick = function () CharacterList.doLogin() return true end } )
if i == 1 or Settings.get('lastUsedCharacter') == characterName then
focusLabel = label

View File

@@ -356,7 +356,7 @@ local function onChannelList(channelList)
label:setText(channelName)
label:setPhantom(false)
connect(label, { onMouseDoubleClick = function () doChannelListSubmit(channelsWindow) end } )
connect(label, { onDoubleClick = function () doChannelListSubmit(channelsWindow) end } )
end
end
end

View File

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