yuzu-emu
/
yuzu
Archived
1
0
Fork 0

configure_general: Hide reset button in custom configs

This commit is contained in:
lat9nq 2023-05-09 14:13:59 -04:00
parent e2de48f14b
commit 8c03ae793e
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,10 @@ ConfigureGeneral::ConfigureGeneral(
connect(ui->button_reset_defaults, &QPushButton::clicked, this, connect(ui->button_reset_defaults, &QPushButton::clicked, this,
&ConfigureGeneral::ResetDefaults); &ConfigureGeneral::ResetDefaults);
if (!Settings::IsConfiguringGlobal()) {
ui->button_reset_defaults->setVisible(false);
}
} }
ConfigureGeneral::~ConfigureGeneral() = default; ConfigureGeneral::~ConfigureGeneral() = default;