mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fix preview showing on fast userpic click.
This commit is contained in:
parent
a60783eae3
commit
470b3a2cbd
1 changed files with 2 additions and 0 deletions
|
@ -1760,6 +1760,8 @@ void InnerWidget::mousePressReleased(
|
|||
QPoint globalPosition,
|
||||
Qt::MouseButton button,
|
||||
Qt::KeyboardModifiers modifiers) {
|
||||
_chatPreviewTimer.cancel();
|
||||
|
||||
auto wasDragging = (_dragging != nullptr);
|
||||
if (wasDragging) {
|
||||
updateReorderIndexGetCount();
|
||||
|
|
Loading…
Add table
Reference in a new issue