mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-19 15:22:10 -04:00
Add button to delete profiles and confirmation dialog
This commit is contained in:
1 parent
45a5f629e5
commit
70783fb28f
4 files changed
+54
-19
No files matched your search
+3
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user