From 95174a5f3686603756d17f5136a18ebc334c312a Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 23 Apr 2023 19:23:16 +0400 Subject: [PATCH] Quick reply only by left mouse button. --- 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 153e001ebe..c1e0d510a1 100644 --- a/Telegram/SourceFiles/history/history_inner_widget.cpp +++ b/Telegram/SourceFiles/history/history_inner_widget.cpp @@ -2042,7 +2042,8 @@ void HistoryInner::mouseDoubleClickEvent(QMouseEvent *e) { && (_mouseCursorState == CursorState::None || _mouseCursorState == CursorState::Date) && !inSelectionMode() - && !_emptyPainter) { + && !_emptyPainter + && e->button() == Qt::LeftButton) { if (const auto view = Element::Moused()) { mouseActionCancel(); switch (HistoryView::CurrentQuickAction()) {