From 574e0d17ecce184a5394c42353af3674743a4e6f Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 19 Feb 2026 00:51:04 +0100 Subject: [PATCH] Reorder symbol statistics checkboxes and disable kernel when external is off. External symbols checkbox now appears before kernel symbols, and kernel is disabled when external is not selected since kernel symbols are a subset of external symbols. --- profiler/src/profiler/TracyView_Statistics.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/profiler/src/profiler/TracyView_Statistics.cpp b/profiler/src/profiler/TracyView_Statistics.cpp index 12bcad7e..5ab4196c 100644 --- a/profiler/src/profiler/TracyView_Statistics.cpp +++ b/profiler/src/profiler/TracyView_Statistics.cpp @@ -518,11 +518,13 @@ void View::DrawStatistics() ImGui::SameLine(); ImGui::Spacing(); ImGui::SameLine(); - ImGui::Checkbox( ICON_FA_HAT_WIZARD " Kernel", &m_statShowKernel ); + ImGui::Checkbox( ICON_FA_SHIELD_HALVED " External", &m_statShowExternal ); ImGui::SameLine(); ImGui::Spacing(); ImGui::SameLine(); - ImGui::Checkbox( ICON_FA_SHIELD_HALVED " External", &m_statShowExternal ); + if( !m_statShowExternal ) ImGui::BeginDisabled(); + ImGui::Checkbox( ICON_FA_HAT_WIZARD " Kernel", &m_statShowKernel ); + if( !m_statShowExternal ) ImGui::EndDisabled(); ImGui::SameLine(); ImGui::Spacing(); ImGui::SameLine();