Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/slic3r/GUI/UnsavedChangesDialog.cpp')
-rw-r--r--src/slic3r/GUI/UnsavedChangesDialog.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/slic3r/GUI/UnsavedChangesDialog.cpp b/src/slic3r/GUI/UnsavedChangesDialog.cpp
index fc1395545..f04d422f9 100644
--- a/src/slic3r/GUI/UnsavedChangesDialog.cpp
+++ b/src/slic3r/GUI/UnsavedChangesDialog.cpp
@@ -40,9 +40,9 @@ namespace GUI {
// ----------------------------------------------------------------------------
static const std::map<Preset::Type, std::string> type_icon_names = {
- {Preset::TYPE_PRINT, "cog" },
+ {Preset::TYPE_FFF_PRINT, "cog" },
{Preset::TYPE_SLA_PRINT, "cog" },
- {Preset::TYPE_FILAMENT, "spool" },
+ {Preset::TYPE_FFF_FILAMENT, "spool" },
{Preset::TYPE_SLA_MATERIAL, "resin" },
{Preset::TYPE_PRINTER, "printer" },
};
@@ -952,6 +952,8 @@ static wxString get_string_value(std::string opt_key, const DynamicPrintConfig&
return get_string_from_enum<InfillPattern>(opt_key, config);
if (opt_key == "complete_objects_sort")
return get_string_from_enum<CompleteObjectSort>(opt_key, config);
+ if (opt_key == "config_compatibility")
+ return get_string_from_enum<ForwardCompatibilitySubstitutionRule>(opt_key, config);
if (opt_key == "display_orientation")
return get_string_from_enum<SLADisplayOrientation>(opt_key, config);
if (opt_key == "output_format")