mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 21:05:45 +00:00
configure_general: Hide reset button in custom configs
This commit is contained in:
parent
24c16f46ef
commit
f6091f33aa
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue