diff --git a/README.md b/README.md index 0003c9ba2..2c72d8eab 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ This is the complete source code and the build instructions for the alpha version of the official desktop client for the [Telegram][telegram] messenger, based on the [Telegram API][telegram_api] and the [MTProto][telegram_proto] secure protocol. -The source code is published under GPL v3, the license is available [here][license]. +The source code is published under GPLv3, the license is available [here][license]. ## Supported systems @@ -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 \ No newline at end of file +[qtcreator]: QTCREATOR.md diff --git a/Telegram/SourceFiles/historywidget.cpp b/Telegram/SourceFiles/historywidget.cpp index c6c864f12..0b405373a 100644 --- a/Telegram/SourceFiles/historywidget.cpp +++ b/Telegram/SourceFiles/historywidget.cpp @@ -3360,6 +3360,7 @@ void HistoryWidget::updateControlsVisibility() { _cmdStart.hide(); _attachType.hide(); _emojiPan.hide(); + _kbScroll.hide(); if (!_field.isHidden()) { _field.hide(); resizeEvent(0); diff --git a/Telegram/SourceFiles/window.cpp b/Telegram/SourceFiles/window.cpp index 37da33eb6..3ef20b7f6 100644 --- a/Telegram/SourceFiles/window.cpp +++ b/Telegram/SourceFiles/window.cpp @@ -1580,7 +1580,7 @@ void Window::notifyUpdateAllPhotos() { (*i)->updatePeerPhoto(); } } - if (_mediaView) _mediaView->updateControls(); + if (_mediaView && !_mediaView->isHidden()) _mediaView->updateControls(); } void Window::notifyUpdateAll() {