many modules fixes

This commit is contained in:
Eduardo Bart
2012-06-03 21:28:19 -03:00
parent cfa7db77da
commit 296f2a17c4
11 changed files with 31 additions and 23 deletions

View File

@@ -77,7 +77,7 @@ end
function HotkeysManager.save()
local hotkeySettings = {}
for i = 1, currentHotkeysList:getChildCount() do
for i=1, currentHotkeysList:getChildCount() do
local child = currentHotkeysList:getChildByIndex(i)
table.insert(hotkeySettings, {keyCombo = child.keyCombo,
autoSend = child.autoSend,
@@ -85,6 +85,7 @@ function HotkeysManager.save()
useType = child.useType,
value = child.value})
end
Settings.setNode('HotkeysManager', hotkeySettings)
end
@@ -311,6 +312,7 @@ function HotkeysManager.call(keyCombo)
end
function HotkeysManager.checkSelectedHotkey(focused)
if not focused then return end
if hotkeysManagerLoaded then
hotkeyLabelSelectedOnList = focused