Merge pull request #4995 from vvanelslande/rename-profile

settings, configure_input: fix rename input profile
This commit is contained in:
Weiyi Wang
2019-11-10 21:25:01 -05:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -505,6 +505,7 @@ void ConfigureInput::RenameProfile() {
ui->profile->setItemText(ui->profile->currentIndex(), new_name);
Settings::RenameCurrentProfile(new_name.toStdString());
Settings::SaveProfile(ui->profile->currentIndex());
}
bool ConfigureInput::IsProfileNameDuplicate(const QString& name) const {