Skip to content

Commit

Permalink
Merge c8ea063 into dde6ba5
Browse files Browse the repository at this point in the history
  • Loading branch information
leha-bot authored Mar 11, 2018
2 parents dde6ba5 + c8ea063 commit 392f523
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Telegram/SourceFiles/history/history_inner_widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1137,6 +1137,15 @@ void HistoryInner::mouseDoubleClickEvent(QMouseEvent *e) {
_trippleClickTimer.start(QApplication::doubleClickInterval());
}
}
if (!ClickHandler::getActive()
&& !ClickHandler::getPressed()
&& _mouseCursorState == HistoryDefaultCursorState) {
if (const auto item = _mouseActionItem) {
mouseActionCancel();
App::contextItem(item);
_widget->onReplyToMessage();
}
}
}

void HistoryInner::contextMenuEvent(QContextMenuEvent *e) {
Expand Down

0 comments on commit 392f523

Please sign in to comment.