mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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,
|
QPoint globalPosition,
|
||||||
Qt::MouseButton button,
|
Qt::MouseButton button,
|
||||||
Qt::KeyboardModifiers modifiers) {
|
Qt::KeyboardModifiers modifiers) {
|
||||||
|
_chatPreviewTimer.cancel();
|
||||||
|
|
||||||
auto wasDragging = (_dragging != nullptr);
|
auto wasDragging = (_dragging != nullptr);
|
||||||
if (wasDragging) {
|
if (wasDragging) {
|
||||||
updateReorderIndexGetCount();
|
updateReorderIndexGetCount();
|
||||||
|
|
Loading…
Add table
Reference in a new issue