2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 06:07:45 +00:00

Fix pausing stickers in StickerSetBox.

This commit is contained in:
John Preston 2022-01-25 14:26:46 +03:00
parent a6621233d0
commit b5aca56914

View File

@ -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();
}