mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Reply by double clicking a message.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user