From 2bc4af3c6c6f40d8a602d4ef913933434853674d Mon Sep 17 00:00:00 2001 From: Fabxx <30447649+Fabxx@users.noreply.github.com> Date: Mon, 20 Nov 2023 10:05:58 +0100 Subject: [PATCH] display red text only when on "none" --- ui/xui/main-menu.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ui/xui/main-menu.cc b/ui/xui/main-menu.cc index 63cea587370..4c06196a900 100644 --- a/ui/xui/main-menu.cc +++ b/ui/xui/main-menu.cc @@ -988,9 +988,10 @@ void MainMenuSystemView::Draw() if (m_dirty) { ImGui::TextColored(ImVec4(1,0,0,1), "Application restart required to apply settings"); } - - ImGui::TextColored(ImVec4(1,0,0,1), "Setting AV Pack to NONE disables video output."); - + + if ((int)g_config.sys.avpack == 6) { + ImGui::TextColored(ImVec4(1,0,0,1), "Setting AV Pack to NONE disables video output."); + } SectionTitle("System Configuration");