mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-11 06:03:40 +00:00
Fixed instant Cmd+Up/Down reply in sections with compose controls.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user