From bd65aae81e531f4fe5ca347a6b9a2158430f2952 Mon Sep 17 00:00:00 2001 From: RickyRister <42636155+RickyRister@users.noreply.github.com> Date: Sat, 6 Sep 2025 02:04:50 -0700 Subject: [PATCH] Fix Logs tab close button not working (#6104) --- cockatrice/src/client/tabs/tab_supervisor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cockatrice/src/client/tabs/tab_supervisor.cpp b/cockatrice/src/client/tabs/tab_supervisor.cpp index feb989fbf..37bff7413 100644 --- a/cockatrice/src/client/tabs/tab_supervisor.cpp +++ b/cockatrice/src/client/tabs/tab_supervisor.cpp @@ -651,9 +651,9 @@ void TabSupervisor::openTabLog() myAddTab(tabLog, aTabLog); connect(tabLog, &QObject::destroyed, this, [this] { tabLog = nullptr; - aTabAdmin->setChecked(false); + aTabLog->setChecked(false); }); - aTabAdmin->setChecked(true); + aTabLog->setChecked(true); } void TabSupervisor::updatePingTime(int value, int max)