mirror of https://github.com/procxx/kepka.git
Reply by double clicking a message.
This commit is contained in:
parent
ef8b6d1a3d
commit
128663d95b
|
@ -1352,6 +1352,14 @@ void HistoryInner::mouseDoubleClickEvent(QMouseEvent *e) {
|
||||||
_trippleClickTimer.start(QApplication::doubleClickInterval());
|
_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) {
|
void HistoryInner::contextMenuEvent(QContextMenuEvent *e) {
|
||||||
|
|
Loading…
Reference in New Issue