mirror of
https://github.com/edubart/otclient.git
synced 2025-10-13 19:14:56 +02: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