summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-05-09 20:13:59 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 16:56:07 +0200
commit8c03ae793eaca063f161695dae0921bf7d04a817 (patch)
treedf3f0789eff019007be5450fdf40011685363066 /src
parentconfigure_general: Sort data (diff)
downloadyuzu-8c03ae793eaca063f161695dae0921bf7d04a817.tar
yuzu-8c03ae793eaca063f161695dae0921bf7d04a817.tar.gz
yuzu-8c03ae793eaca063f161695dae0921bf7d04a817.tar.bz2
yuzu-8c03ae793eaca063f161695dae0921bf7d04a817.tar.lz
yuzu-8c03ae793eaca063f161695dae0921bf7d04a817.tar.xz
yuzu-8c03ae793eaca063f161695dae0921bf7d04a817.tar.zst
yuzu-8c03ae793eaca063f161695dae0921bf7d04a817.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/configuration/configure_general.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/configuration/configure_general.cpp b/src/yuzu/configuration/configure_general.cpp
index a7f26023d..7eb6cb9ec 100644
--- a/src/yuzu/configuration/configure_general.cpp
+++ b/src/yuzu/configuration/configure_general.cpp
@@ -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;