2
0
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:
John Preston
2024-05-08 17:14:30 +04:00
parent a60783eae3
commit 470b3a2cbd

View File

@@ -1760,6 +1760,8 @@ void InnerWidget::mousePressReleased(
QPoint globalPosition,
Qt::MouseButton button,
Qt::KeyboardModifiers modifiers) {
_chatPreviewTimer.cancel();
auto wasDragging = (_dragging != nullptr);
if (wasDragging) {
updateReorderIndexGetCount();