From 5a4c7c32d81cfbd5109e428035d6bc6ad9ba78ca Mon Sep 17 00:00:00 2001 From: Pengfei Zhu Date: Sat, 29 Dec 2018 08:14:37 -0500 Subject: [PATCH] Update src/citra_qt/configuration/config.cpp Co-Authored-By: valentinvanelslande --- src/citra_qt/configuration/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/citra_qt/configuration/config.cpp b/src/citra_qt/configuration/config.cpp index 91f6fbd8f6..c28f0d828e 100644 --- a/src/citra_qt/configuration/config.cpp +++ b/src/citra_qt/configuration/config.cpp @@ -62,7 +62,7 @@ void Config::ReadValues() { QString::fromStdString(default_param)) .toString() .toStdString(); - if (profile.buttons.empty()) + if (profile.buttons[i].empty()) profile.buttons[i] = default_param; } for (int i = 0; i < Settings::NativeAnalog::NumAnalogs; ++i) {