mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 18:15:53 +08:00
When filtering default values out, it helps to not use the original source and clobber the compatibilty list.
This commit is contained in:
parent
84ef996275
commit
bbbcd36113
@ -63,7 +63,7 @@ void PresetChooser::load(std::array<Presets, preset_types> presets) {
|
||||
|
||||
// show default names if no other presets visible.
|
||||
if (current_list.size() > 1) {
|
||||
current_list = grep(presets.at(get_preset(group)), [] (const Preset& x) -> bool { return !x.default_preset; });
|
||||
current_list = grep(current_list, [] (const Preset& x) -> bool { return !x.default_preset; });
|
||||
}
|
||||
|
||||
// # Read the current defaults from the settings file
|
||||
|
Loading…
x
Reference in New Issue
Block a user