mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fix preview showing on fast userpic click.
This commit is contained in:
@@ -1760,6 +1760,8 @@ void InnerWidget::mousePressReleased(
|
||||
QPoint globalPosition,
|
||||
Qt::MouseButton button,
|
||||
Qt::KeyboardModifiers modifiers) {
|
||||
_chatPreviewTimer.cancel();
|
||||
|
||||
auto wasDragging = (_dragging != nullptr);
|
||||
if (wasDragging) {
|
||||
updateReorderIndexGetCount();
|
||||
|
Reference in New Issue
Block a user