mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 06:29:00 +01:00
Qt/MappingWindow: Fix saving to incomplete Profile directory
This commit is contained in:
parent
6e62d1ab9f
commit
0d5b34be34
@ -199,8 +199,9 @@ void MappingWindow::OnLoadProfilePressed()
|
||||
void MappingWindow::OnSaveProfilePressed()
|
||||
{
|
||||
const QString profile_name = m_profiles_combo->currentText();
|
||||
const std::string profile_path =
|
||||
File::GetUserPath(D_CONFIG_IDX) + PROFILES_DIR + profile_name.toStdString() + ".ini";
|
||||
const std::string profile_path = File::GetUserPath(D_CONFIG_IDX) + PROFILES_DIR +
|
||||
m_config->GetProfileName() + "/" + profile_name.toStdString() +
|
||||
".ini";
|
||||
|
||||
if (profile_name.isEmpty())
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user