From 39140bbff8838086941b8b5ddd40e0341244d90a Mon Sep 17 00:00:00 2001 From: Valentin Vanelslande Date: Fri, 28 Dec 2018 21:24:01 -0500 Subject: [PATCH] another fix --- src/core/settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/settings.cpp b/src/core/settings.cpp index 72f3336851..667fe1b528 100644 --- a/src/core/settings.cpp +++ b/src/core/settings.cpp @@ -139,7 +139,7 @@ void CreateProfile(std::string name) { } void DeleteProfile(int index) { - values.input_profiles(values.input_profiles.begin() + index); + values.input_profiles.erase(values.input_profiles.begin() + index); LoadProfile(0); }