Fix profile deletion

This commit is contained in:
Adam Honse 2020-12-05 03:25:23 -06:00
parent 4b5d66ee12
commit 72070f95ad

View file

@ -334,7 +334,7 @@ bool ProfileManager::LoadProfileWithOptions
void ProfileManager::DeleteProfile(std::string profile_name) void ProfileManager::DeleteProfile(std::string profile_name)
{ {
remove(profile_name.c_str()); remove((configuration_directory + profile_name).c_str());
UpdateProfileList(); UpdateProfileList();
} }