From 4b27210b6e5c248aa59883d222cc078207a77d5e Mon Sep 17 00:00:00 2001 From: Lukas Matena Date: Wed, 15 Mar 2023 22:03:01 +0100 Subject: [PATCH] Bypass a crash when validating custom gcodes --- src/slic3r/GUI/Tab.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index 22e23d84e6..51298f1750 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -4515,6 +4515,8 @@ bool Tab::validate_custom_gcodes() if (!opt_group->is_activated()) break; std::string key = opt_group->opt_map().begin()->first; + if (key == "autoemit_temperature_commands") + continue; valid &= validate_custom_gcode(opt_group->title, boost::any_cast(opt_group->get_value(key))); if (!valid) break;