mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
parent
75ee74ff1f
commit
068eb3fcd1
1 changed files with 3 additions and 1 deletions
|
@ -1788,11 +1788,13 @@ void HistoryInner::mouseActionFinish(
|
||||||
_wasSelectedText = false;
|
_wasSelectedText = false;
|
||||||
|
|
||||||
if (activated) {
|
if (activated) {
|
||||||
mouseActionCancel();
|
|
||||||
const auto pressedItemId = pressedItemView
|
const auto pressedItemId = pressedItemView
|
||||||
? pressedItemView->data()->fullId()
|
? pressedItemView->data()->fullId()
|
||||||
|
: _mouseActionItem
|
||||||
|
? _mouseActionItem->fullId()
|
||||||
: FullMsgId();
|
: FullMsgId();
|
||||||
const auto weak = base::make_weak(_controller.get());
|
const auto weak = base::make_weak(_controller.get());
|
||||||
|
mouseActionCancel();
|
||||||
ActivateClickHandler(
|
ActivateClickHandler(
|
||||||
window(),
|
window(),
|
||||||
activated,
|
activated,
|
||||||
|
|
Loading…
Add table
Reference in a new issue