another fix

This commit is contained in:
Valentin Vanelslande 2018-12-28 21:24:01 -05:00
parent 16ebb38b4a
commit 39140bbff8

View File

@ -139,7 +139,7 @@ void CreateProfile(std::string name) {
} }
void DeleteProfile(int index) { void DeleteProfile(int index) {
values.input_profiles(values.input_profiles.begin() + index); values.input_profiles.erase(values.input_profiles.begin() + index);
LoadProfile(0); LoadProfile(0);
} }