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();