2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Preserve panels state through visibility toggles.

Emoji/Stickers/GIFs panel saves all the state between activations.
This commit is contained in:
John Preston
2017-05-17 23:59:43 +03:00
parent 132d884600
commit bf0f956325
4 changed files with 12 additions and 10 deletions

View File

@@ -75,7 +75,8 @@ EmojiListWidget::Footer::Footer(gsl::not_null<EmojiListWidget*> parent) : InnerF
}
void EmojiListWidget::Footer::processPanelHideFinished() {
setCurrentSectionIcon(Section::Recent);
// Preserve panel state through visibility toggles.
//setCurrentSectionIcon(Section::Recent);
}
void EmojiListWidget::Footer::setCurrentSectionIcon(Section section) {