From 1be37a10b38fdd59b1e3a3b36f4ec861fdb87844 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 6 Dec 2022 12:46:10 +0400 Subject: [PATCH] Show info on forum top bar click. --- .../SourceFiles/history/view/history_view_top_bar_widget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp b/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp index 968272e8c7..7a5374f616 100644 --- a/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp +++ b/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp @@ -671,7 +671,8 @@ void TopBarWidget::mousePressEvent(QMouseEvent *e) { && !_chooseForReportReason; if (handleClick) { if ((_animatingMode && _back->rect().contains(e->pos())) - || (_activeChat.section == Section::ChatsList)) { + || (_activeChat.section == Section::ChatsList + && _activeChat.key.folder())) { backClicked(); } else { infoClicked();