mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 07:33:52 +02:00
Fixed reply on double click with protected content.
This commit is contained in:
parent
a8b2604512
commit
9510d38929
2 changed files with 3 additions and 3 deletions
|
@ -1852,9 +1852,9 @@ void HistoryInner::mouseDoubleClickEvent(QMouseEvent *e) {
|
||||||
|| _mouseCursorState == CursorState::Date)
|
|| _mouseCursorState == CursorState::Date)
|
||||||
&& !inSelectionMode()
|
&& !inSelectionMode()
|
||||||
&& !_emptyPainter) {
|
&& !_emptyPainter) {
|
||||||
if (const auto item = _mouseActionItem) {
|
if (const auto view = Element::Moused()) {
|
||||||
mouseActionCancel();
|
mouseActionCancel();
|
||||||
_widget->replyToMessage(item);
|
_widget->replyToMessage(view->data());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit d5d8244abb781bcc92a89b78ed5a7912562cfde6
|
Subproject commit 01f07480b01953ef6fa1d7418e26baf37f0cb364
|
Loading…
Add table
Reference in a new issue