From 6b94d09fe6a1650b170fa01e56180dc81a6889d8 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Wed, 11 Oct 2023 11:07:26 +0200 Subject: [PATCH] SubstitutionManager: Follow-up 2b25f55 - Fixed a crash. (Added missed cleaning of the m_chb_match_single_lines on init substitutions) --- src/slic3r/GUI/Tab.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index 92d7bbfc04..45ce29468f 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -4547,6 +4547,7 @@ void SubstitutionManager::init(DynamicPrintConfig* config, wxWindow* parent, wxF m_em = em_unit(parent); m_substitutions = m_config->option("gcode_substitutions")->values; + m_chb_match_single_lines.clear(); } void SubstitutionManager::validate_length()