Fix adding presets to master preset list.

This commit is contained in:
Joseph Lenox 2018-11-18 14:23:00 -06:00 committed by Joseph Lenox
parent 52827f0d9b
commit eb69998832

View File

@ -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<preset_t>(group)));
preset_list.push_back(Preset(path.ToStdString(), (name + wxString(".") + ext).ToStdString(), static_cast<preset_t>(group)));
});
wxDir dir(ini);