Update src/citra_qt/configuration/config.cpp

Co-Authored-By: valentinvanelslande <valentinvanelslandeacnl@gmail.com>
This commit is contained in:
Pengfei Zhu 2018-12-29 08:14:37 -05:00 committed by GitHub
parent ec7a3fb72c
commit 5a4c7c32d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {