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()) { if (!_main || Ui::isLayerShown()) {
return false; return false;
} }
updateIsActive();
return isActive() && _main->doWeMarkAsRead(); return isActive() && _main->doWeMarkAsRead();
} }
void MainWindow::checkHistoryActivation() { void MainWindow::checkHistoryActivation() {
updateIsActive();
if (_main) { if (_main) {
_main->checkHistoryActivation(); _main->checkHistoryActivation();
} }