Fixed instant Cmd+Up/Down reply in sections with compose controls.

This commit is contained in:
23rd
2026-06-29 16:12:55 +03:00
committed by John Preston
parent 40b3f62813
commit f362c16106
@@ -2363,7 +2363,8 @@ void ComposeControls::initKeyHandler() {
}
}, _wrap->lifetime());
base::install_event_filter(_wrap.get(), _field, [=](not_null<QEvent*> e) {
base::install_event_filter(_wrap.get(), _field->rawTextEdit(), [=](
not_null<QEvent*> e) {
using Result = base::EventFilterResult;
if (e->type() != QEvent::KeyPress) {
return Result::Continue;