Add button to delete profiles and confirmation dialog

This commit is contained in:
Adam Honse committed 2020-03-03 21:15:33 -06:00
1 parent 45a5f629e5
commit 70783fb28f
4 files changed
+54 -19

No files matched your search

+3 -1
View File
@@ -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()