diff --git a/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp b/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp index 19d14e4fb..280d5d611 100644 --- a/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp +++ b/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp @@ -2957,7 +2957,7 @@ void OverlayWidget::keyPressEvent(QKeyEvent *e) { } } if (!_menu && e->key() == Qt::Key_Escape) { - if (_doc && _doc->loading()) { + if (_doc && _doc->loading() && !_streamed) { onDocClick(); } else { close();