diff --git a/src/libslic3r/Config.cpp b/src/libslic3r/Config.cpp index afa0fcf8f..24f2a44af 100644 --- a/src/libslic3r/Config.cpp +++ b/src/libslic3r/Config.cpp @@ -626,7 +626,7 @@ bool ConfigBase::set_deserialize_raw(const t_config_option_key &opt_key_src, con // That means, we expect enum values being added in the future and possibly booleans being converted to enums. (optdef->type == coEnum || optdef->type == coBool) && ConfigHelpers::looks_like_enum_value(value)) { // Deserialize failed, try to substitute with a default value. - assert(substitutions_ctxt.rule == ForwardCompatibilitySubstitutionRule::Enable || substitutions_ctxt.rule == ForwardCompatibilitySubstitutionRule::EnableSilent); + //assert(substitutions_ctxt.rule == ForwardCompatibilitySubstitutionRule::Enable || substitutions_ctxt.rule == ForwardCompatibilitySubstitutionRule::EnableSilent); if (optdef->type == coEnum && opt_key == "gcode_flavor" && (value == "marlin2" || value == "marlinfirmware")) static_cast*>(opt)->value = gcfMarlin; else if (optdef->type == coBool) diff --git a/src/slic3r/GUI/GUI.cpp b/src/slic3r/GUI/GUI.cpp index a961033b7..f810f3e2e 100644 --- a/src/slic3r/GUI/GUI.cpp +++ b/src/slic3r/GUI/GUI.cpp @@ -352,7 +352,7 @@ static void add_config_substitutions(const ConfigSubstitutions& conf_substitutio static wxString substitution_message(const wxString& changes) { return - _L("Most likely the configuration was produced by a newer version of PrusaSlicer or by some PrusaSlicer fork.") + " " + + _L("Most likely the configuration was produced by a newer version of " SLIC3R_APP_NAME " or PrusaSlicer.") + " " + _L("The following values were substituted:") + "\n" + changes + "\n\n" + _L("Review the substitutions and adjust them if needed."); } diff --git a/src/slic3r/GUI/UpdateDialogs.cpp b/src/slic3r/GUI/UpdateDialogs.cpp index dc2841743..ad92e5ed1 100644 --- a/src/slic3r/GUI/UpdateDialogs.cpp +++ b/src/slic3r/GUI/UpdateDialogs.cpp @@ -87,8 +87,8 @@ bool MsgUpdateSlic3r::disable_version_check() const MsgUpdateConfig::MsgUpdateConfig(const std::vector &updates, bool force_before_wizard/* = false*/) : MsgDialog(nullptr, force_before_wizard ? _L("Opening Configuration Wizard") : _L("Configuration update"), - force_before_wizard ? _L("PrusaSlicer is not using the newest configuration available.\n" - "Configuration Wizard may not offer the latest printers, filaments and SLA materials to be installed. ") : + force_before_wizard ? wxString::Format(_L("%s is not using the newest configuration available.\n" + "Configuration Wizard may not offer the latest printers, filaments and SLA materials to be installed. "), SLIC3R_APP_NAME) : _L("Configuration update is available"), wxID_NONE) { auto *text = new wxStaticText(this, wxID_ANY, _(L(