diff --git a/ProfileManager.cpp b/ProfileManager.cpp index d06b8274..1f578ddc 100644 --- a/ProfileManager.cpp +++ b/ProfileManager.cpp @@ -334,7 +334,7 @@ bool ProfileManager::LoadProfileWithOptions void ProfileManager::DeleteProfile(std::string profile_name) { - remove(profile_name.c_str()); + remove((configuration_directory + profile_name).c_str()); UpdateProfileList(); }