mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 07:26:49 +01:00
fix combobox style
This commit is contained in:
@@ -123,3 +123,12 @@ function Hotkeys.unbindKeyDown(keyComboDesc, widget)
|
||||
widget.boundKeyDownCombos[keyComboDesc] = nil
|
||||
end
|
||||
end
|
||||
|
||||
function Hotkeys.unbindKeyPress(keyComboDesc, widget)
|
||||
widget = widget or rootWidget
|
||||
if widget.boundKeyPressCombos == nil then return end
|
||||
local keyComboDesc = retranslateKeyComboDesc(keyComboDesc)
|
||||
if keyComboDesc then
|
||||
widget.boundKeyPressCombos[keyComboDesc] = nil
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user