Fix preview showing on fast userpic click.
This commit is contained in:
parent
a60783eae3
commit
470b3a2cbd
|
@ -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…
Reference in New Issue