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);