From 70653c6a8754fe0a685bc92a6f65cdb3763b86e3 Mon Sep 17 00:00:00 2001 From: fearlessTobi Date: Sat, 16 Feb 2019 21:41:51 +0100 Subject: [PATCH] citra_qt/config: actually save name of input profile Fixes the issue where all input profiles had the name "default" after restarting Citra. --- src/citra_qt/configuration/config.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/citra_qt/configuration/config.cpp b/src/citra_qt/configuration/config.cpp index 95df2208b..201acafe4 100644 --- a/src/citra_qt/configuration/config.cpp +++ b/src/citra_qt/configuration/config.cpp @@ -408,6 +408,7 @@ void Config::SaveValues() { for (std::size_t p = 0; p < Settings::values.input_profiles.size(); ++p) { qt_config->setArrayIndex(static_cast(p)); const auto& profile = Settings::values.input_profiles[p]; + WriteSetting("name", QString::fromStdString(profile.name), "default"); for (int i = 0; i < Settings::NativeButton::NumButtons; ++i) { std::string default_param = InputCommon::GenerateKeyboardParam(default_buttons[i]); WriteSetting(QString::fromStdString(Settings::NativeButton::mapping[i]),