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