From eb69998832c62dfafa0818900b40b469b6db154d Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Sun, 18 Nov 2018 14:23:00 -0600 Subject: [PATCH] Fix adding presets to master preset list. --- src/GUI/GUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI/GUI.cpp b/src/GUI/GUI.cpp index 5fb4447fb..912f68ac0 100644 --- a/src/GUI/GUI.cpp +++ b/src/GUI/GUI.cpp @@ -185,7 +185,7 @@ void App::load_presets() { wxString path, name, ext; wxFileName::SplitPath(filename, &path, &name, &ext); - preset_list.push_back(Preset(path.ToStdString(), (name + ext).ToStdString(), static_cast(group))); + preset_list.push_back(Preset(path.ToStdString(), (name + wxString(".") + ext).ToStdString(), static_cast(group))); }); wxDir dir(ini);