citra_qt: Hide refresh rate dialog on global configure
This commit is contained in:
parent
ce115869c9
commit
94a46c4b82
1 changed files with 2 additions and 0 deletions
|
@ -129,6 +129,7 @@ void ConfigureDebug::SetupPerGameUI() {
|
||||||
if (Settings::IsConfiguringGlobal()) {
|
if (Settings::IsConfiguringGlobal()) {
|
||||||
ui->slider_clock_speed->setEnabled(Settings::values.cpu_clock_percentage.UsingGlobal());
|
ui->slider_clock_speed->setEnabled(Settings::values.cpu_clock_percentage.UsingGlobal());
|
||||||
ui->slider_refresh_rate->setEnabled(Settings::values.refresh_rate.UsingGlobal());
|
ui->slider_refresh_rate->setEnabled(Settings::values.refresh_rate.UsingGlobal());
|
||||||
|
ui->refresh_rate_widget->setVisible(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -145,6 +146,7 @@ void ConfigureDebug::SetupPerGameUI() {
|
||||||
ui->gdb_group->setVisible(false);
|
ui->gdb_group->setVisible(false);
|
||||||
ui->logging_group->setVisible(false);
|
ui->logging_group->setVisible(false);
|
||||||
ui->toggle_cpu_jit->setVisible(false);
|
ui->toggle_cpu_jit->setVisible(false);
|
||||||
|
ui->refresh_rate_widget->setVisible(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigureDebug::RetranslateUI() {
|
void ConfigureDebug::RetranslateUI() {
|
||||||
|
|
Loading…
Reference in a new issue