mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-12-26 07:15:39 +00:00
configure_general: Hide reset button in custom configs
This commit is contained in:
parent
e2de48f14b
commit
8c03ae793e
|
@ -24,6 +24,10 @@ ConfigureGeneral::ConfigureGeneral(
|
|||
|
||||
connect(ui->button_reset_defaults, &QPushButton::clicked, this,
|
||||
&ConfigureGeneral::ResetDefaults);
|
||||
|
||||
if (!Settings::IsConfiguringGlobal()) {
|
||||
ui->button_reset_defaults->setVisible(false);
|
||||
}
|
||||
}
|
||||
|
||||
ConfigureGeneral::~ConfigureGeneral() = default;
|
||||
|
|
Loading…
Reference in a new issue