From b5aca56914e24e8c25900e94e4f095a7c3e801b1 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 25 Jan 2022 14:26:46 +0300 Subject: [PATCH] Fix pausing stickers in StickerSetBox. --- Telegram/SourceFiles/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/mainwindow.cpp b/Telegram/SourceFiles/mainwindow.cpp index 8ff7a0e87..44a76bd2d 100644 --- a/Telegram/SourceFiles/mainwindow.cpp +++ b/Telegram/SourceFiles/mainwindow.cpp @@ -596,11 +596,11 @@ bool MainWindow::doWeMarkAsRead() { if (!_main || Ui::isLayerShown()) { return false; } - updateIsActive(); return isActive() && _main->doWeMarkAsRead(); } void MainWindow::checkHistoryActivation() { + updateIsActive(); if (_main) { _main->checkHistoryActivation(); }