Fixed Settings avatar display after restart-to-settings.

This commit is contained in:
John Preston 2016-09-25 22:30:47 +03:00
parent 3d8dadc2e7
commit 52731a737a
2 changed files with 5 additions and 0 deletions

View File

@ -81,6 +81,9 @@ void InnerWidget::refreshBlocks() {
if (_cover) {
_cover->show();
if (_showFinished) {
_cover->showFinished();
}
}
for_const (auto block, _blocks) {
block->show();
@ -89,6 +92,7 @@ void InnerWidget::refreshBlocks() {
}
void InnerWidget::showFinished() {
_showFinished = true;
if (_cover) {
_cover->showFinished();
}

View File

@ -65,6 +65,7 @@ private:
UserData *_self = nullptr;
int _contentLeft = 0;
bool _showFinished = false;
int _visibleTop = 0;
int _visibleBottom = 0;