This commit is contained in:
John Preston 2015-09-22 12:58:51 +03:00
commit 79b2035b0d
3 changed files with 4 additions and 3 deletions

View File

@ -105,4 +105,4 @@ The source code is published under GPL v3, the license is available [here][licen
[msvc]: MSVC.md
[xcode]: XCODE.md
[xcode_old]: XCODEold.md
[qtcreator]: qtcreator.md
[qtcreator]: QTCREATOR.md

View File

@ -3360,6 +3360,7 @@ void HistoryWidget::updateControlsVisibility() {
_cmdStart.hide();
_attachType.hide();
_emojiPan.hide();
_kbScroll.hide();
if (!_field.isHidden()) {
_field.hide();
resizeEvent(0);

View File

@ -1580,7 +1580,7 @@ void Window::notifyUpdateAllPhotos() {
(*i)->updatePeerPhoto();
}
}
if (_mediaView) _mediaView->updateControls();
if (_mediaView && !_mediaView->isHidden()) _mediaView->updateControls();
}
void Window::notifyUpdateAll() {