From 94a46c4b82e3ba1f75ae7d68a1131d210a15f0f0 Mon Sep 17 00:00:00 2001 From: GPUCode <47210458+GPUCode@users.noreply.github.com> Date: Thu, 6 Apr 2023 22:54:49 +0300 Subject: [PATCH] citra_qt: Hide refresh rate dialog on global configure --- src/citra_qt/configuration/configure_debug.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/citra_qt/configuration/configure_debug.cpp b/src/citra_qt/configuration/configure_debug.cpp index f878c200d..a463585a4 100644 --- a/src/citra_qt/configuration/configure_debug.cpp +++ b/src/citra_qt/configuration/configure_debug.cpp @@ -129,6 +129,7 @@ void ConfigureDebug::SetupPerGameUI() { if (Settings::IsConfiguringGlobal()) { ui->slider_clock_speed->setEnabled(Settings::values.cpu_clock_percentage.UsingGlobal()); ui->slider_refresh_rate->setEnabled(Settings::values.refresh_rate.UsingGlobal()); + ui->refresh_rate_widget->setVisible(false); return; } @@ -145,6 +146,7 @@ void ConfigureDebug::SetupPerGameUI() { ui->gdb_group->setVisible(false); ui->logging_group->setVisible(false); ui->toggle_cpu_jit->setVisible(false); + ui->refresh_rate_widget->setVisible(true); } void ConfigureDebug::RetranslateUI() {