Add button to delete profiles and confirmation dialog
This commit is contained in:
parent
45a5f629e5
commit
70783fb28f
4 changed files with 54 additions and 19 deletions
|
|
@ -211,9 +211,11 @@ bool ProfileManager::LoadProfile(std::string profile_name)
|
|||
return(ret_val);
|
||||
}
|
||||
|
||||
void ProfileManager::DeleteProfile(std::string name)
|
||||
void ProfileManager::DeleteProfile(std::string profile_name)
|
||||
{
|
||||
remove(profile_name.c_str());
|
||||
|
||||
UpdateProfileList();
|
||||
}
|
||||
|
||||
void ProfileManager::UpdateProfileList()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue