* Scrollbar on hotkeys window
* Guild channel will appears on channel list but not yet working properly
master
AndreFaramir 12 years ago
parent dcefeb134c
commit c903cc7ec4

@ -148,7 +148,7 @@ local function onChannelList(channelList)
local channelId = v[1]
local channelName = v[2]
if channelId ~= 0 and #channelName > 0 then
if #channelName > 0 then
local label = createWidget('ChannelListLabel', channelListPanel)
label.channelId = channelId
label:setText(channelName)

@ -286,7 +286,7 @@ end
function HotkeysManager.call(keyCombo)
if g_game.isOnline() then
local hotKey = hotkeyList[keyCombo]
if hotKey.itemId == nil and hotKey.value ~= '' then
if hotKey ~= nil and hotKey.itemId == nil and hotKey.value ~= '' then
if hotKey.autoSend then
g_game.talk(hotKey.value)
else

@ -22,13 +22,22 @@ MainWindow
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
VerticalScrollBar
id: currentHotkeysScrollBar
height: 150
anchors.top: parent.top
anchors.right: parent.right
step: 14
pixels-scroll: true
TextList
id: currentHotkeys
vertical-scrollbar: currentHotkeysScrollBar
anchors.left: parent.left
anchors.right: parent.right
anchors.top: prev.bottom
height: 150
anchors.right: prev.left
anchors.top: prev.top
anchors.bottom: prev.bottom
margin-top: 2
padding: 1
focusable: false

Loading…
Cancel
Save