mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-23 13:10:08 +00:00
citra_qt: Hide refresh rate dialog on global configure
This commit is contained in:
parent
ce115869c9
commit
94a46c4b82
@ -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 New Issue
Block a user