mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 03:35:55 +08:00
Fix adding presets to master preset list.
This commit is contained in:
parent
52827f0d9b
commit
eb69998832
@ -185,7 +185,7 @@ void App::load_presets() {
|
|||||||
wxString path, name, ext;
|
wxString path, name, ext;
|
||||||
wxFileName::SplitPath(filename, &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);
|
wxDir dir(ini);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user