Do a complete refresh of profile list when saving profile
This commit is contained in:
parent
ec73337929
commit
45a5f629e5
1 changed files with 3 additions and 3 deletions
|
|
@ -62,9 +62,9 @@ bool ProfileManager::SaveProfile(std::string profile_name)
|
|||
controller_file.close();
|
||||
|
||||
/*---------------------------------------------------------*\
|
||||
| Add the new file to the profile list |
|
||||
| Update the profile list |
|
||||
\*---------------------------------------------------------*/
|
||||
profile_list.push_back(filename);
|
||||
UpdateProfileList();
|
||||
|
||||
return(true);
|
||||
}
|
||||
|
|
@ -257,4 +257,4 @@ void ProfileManager::UpdateProfileList()
|
|||
profile_file.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue