From def21367a317621753ac722dac05c206b92ced20 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 9 Mar 2018 21:20:56 +0300 Subject: [PATCH] Allow to reply by double click on the timestamp. --- Telegram/SourceFiles/history/history_inner_widget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/history_inner_widget.cpp b/Telegram/SourceFiles/history/history_inner_widget.cpp index 3c0068a8f..32e8db3b8 100644 --- a/Telegram/SourceFiles/history/history_inner_widget.cpp +++ b/Telegram/SourceFiles/history/history_inner_widget.cpp @@ -1394,7 +1394,8 @@ void HistoryInner::mouseDoubleClickEvent(QMouseEvent *e) { } if (!ClickHandler::getActive() && !ClickHandler::getPressed() - && _mouseCursorState == CursorState::None + && (_mouseCursorState == CursorState::None + || _mouseCursorState == CursorState::Date) && !inSelectionMode()) { if (const auto item = _mouseActionItem) { mouseActionCancel();