Important bug fixes for version 1.2

This commit is contained in:
OTCv8
2019-11-07 07:51:43 +01:00
parent bb8e1a247b
commit 7d9a81d871
6 changed files with 1 additions and 2 deletions

View File

@@ -421,7 +421,7 @@ function prepareKeyCombo(keyCombo, ticks)
end
if hotKey.itemId == nil and hotKey.action == nil then -- say
scheduleEvent(function() doKeyCombo(keyCombom, ticks >= 5) end, g_settings.getNumber('hotkeyDelay'))
scheduleEvent(function() doKeyCombo(keyCombo, ticks >= 5) end, g_settings.getNumber('hotkeyDelay'))
else
doKeyCombo(keyCombo, ticks >= 5)
end
@@ -448,7 +448,6 @@ function doKeyCombo(keyCombo, repeated)
if hotKey.hotkeyDelayTo ~= nil and g_clock.millis() < hotKey.hotkeyDelayTo then
return
end
if hotKey.action then
executeExtraHotkey(hotKey.action, repeated)
elseif hotKey.itemId == nil then