diff --git a/modules/core_lib/hotkeys.lua b/modules/core_lib/hotkeys.lua index e3fab6ba..07f6650e 100644 --- a/modules/core_lib/hotkeys.lua +++ b/modules/core_lib/hotkeys.lua @@ -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 diff --git a/modules/core_styles/styles/comboboxes.otui b/modules/core_styles/styles/comboboxes.otui index db9db562..28303ce9 100644 --- a/modules/core_styles/styles/comboboxes.otui +++ b/modules/core_styles/styles/comboboxes.otui @@ -4,7 +4,7 @@ ComboBoxPopupMenuButton < UIButton text-align: left text-offset: 2 0 color: #aaaaaa - background-color: white + background-color: alpha $hover: color: #ffffff diff --git a/src/framework/ui/uilineedit.cpp b/src/framework/ui/uilineedit.cpp index 3faafaeb..6c56f0c4 100644 --- a/src/framework/ui/uilineedit.cpp +++ b/src/framework/ui/uilineedit.cpp @@ -442,8 +442,7 @@ bool UILineEdit::onKeyPress(uchar keyCode, int keyboardModifiers, bool wouldFilt } else return false; return true; - } else - dump << "what?"; + } return false; }