More robust vendor profile parsing.
This commit is contained in:
parent
a4a6ef3c72
commit
cd381d6b4f
3 changed files with 13 additions and 1 deletions
src/slic3r/GUI
|
@ -1926,6 +1926,7 @@ void ConfigWizard::priv::update_presets_in_config(const std::string& section, co
|
|||
const PresetAliases& aliases = section == AppConfig::SECTION_FILAMENTS ? aliases_fff : aliases_sla;
|
||||
|
||||
auto update = [this, add](const std::string& s, const std::string& key) {
|
||||
assert(! s.empty());
|
||||
if (add)
|
||||
appconfig_new.set(s, key, "1");
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue