diff --git a/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp b/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp index 6124a843f..9952438ad 100644 --- a/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp +++ b/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp @@ -2131,6 +2131,7 @@ void OverlayWidget::displayDocument( const auto &path = location.name(); if (QImageReader(path).canRead()) { _staticContent = PrepareStaticImage(path); + _touchbarDisplay.fire(TouchBarItemType::Photo); } } location.accessDisable();