mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 03:24:55 +02:00
update TODO, rename onMouseDoubleClick to onDoubleClick
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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()
|
||||
|
Reference in New Issue
Block a user