From 29028d60cd1a4ff0f1c63bb7c449c29ee879da73 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Sat, 3 Jan 2026 17:17:33 +0300 Subject: [PATCH] Fixed disappearing back button in top bar from admin log section. --- Telegram/SourceFiles/profile/profile_back_button.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/profile/profile_back_button.cpp b/Telegram/SourceFiles/profile/profile_back_button.cpp index e2f24033c6..410d00469a 100644 --- a/Telegram/SourceFiles/profile/profile_back_button.cpp +++ b/Telegram/SourceFiles/profile/profile_back_button.cpp @@ -92,7 +92,6 @@ void BackButton::paintEvent(QPaintEvent *e) { updateCache(); auto p = Painter(this); - p.setOpacity(_opacity); p.fillRect(e->rect(), st::profileBg); st::topBarBack.paint( @@ -100,6 +99,7 @@ void BackButton::paintEvent(QPaintEvent *e) { st::historyAdminLogTopBarLeft, (st::topBarHeight - st::topBarBack.height()) / 2, width()); + p.setOpacity(_opacity); const auto textHeight = st::semiboldFont->height; const auto subtextHeight = st::dialogsTextFont->height;