From 4ac3aef6001d04fe3e1a77357c46b56db4d7f121 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Wed, 3 Jul 2019 00:29:34 +0300 Subject: [PATCH] Added ability to cancel reply with Ctrl + Arrow Down. - Fixed #4636. --- Telegram/SourceFiles/history/history_widget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Telegram/SourceFiles/history/history_widget.cpp b/Telegram/SourceFiles/history/history_widget.cpp index 4d6c90eeb..477a04604 100644 --- a/Telegram/SourceFiles/history/history_widget.cpp +++ b/Telegram/SourceFiles/history/history_widget.cpp @@ -5239,6 +5239,9 @@ void HistoryWidget::replyToNextMessage() { const auto next = nextView->data(); Ui::showPeerHistoryAtItem(next); replyToMessage(next); + } else { + clearHighlightMessages(); + cancelReply(false); } } }