diff --git a/Telegram/SourceFiles/history/history_inner_widget.cpp b/Telegram/SourceFiles/history/history_inner_widget.cpp index b628363a1..b7e25c257 100644 --- a/Telegram/SourceFiles/history/history_inner_widget.cpp +++ b/Telegram/SourceFiles/history/history_inner_widget.cpp @@ -1352,6 +1352,14 @@ void HistoryInner::mouseDoubleClickEvent(QMouseEvent *e) { _trippleClickTimer.start(QApplication::doubleClickInterval()); } } + if (!ClickHandler::getActive() + && !ClickHandler::getPressed() + && _mouseCursorState == CursorState::None) { + if (const auto item = _mouseActionItem) { + mouseActionCancel(); + _widget->replyToMessage(item); + } + } } void HistoryInner::contextMenuEvent(QContextMenuEvent *e) {