mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-05 06:34:25 -04:00
Do a complete refresh of profile list when saving profile
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user