From 17b18256ac05a1a44310bedc8c3490b85e52ef61 Mon Sep 17 00:00:00 2001 From: supermerill Date: Wed, 20 Dec 2023 17:31:25 +0100 Subject: [PATCH] Don't crash if there is some empty lines in the ui layout. --- src/slic3r/GUI/OG_CustomCtrl.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/OG_CustomCtrl.cpp b/src/slic3r/GUI/OG_CustomCtrl.cpp index 553e741765d..c4fb6e0988b 100644 --- a/src/slic3r/GUI/OG_CustomCtrl.cpp +++ b/src/slic3r/GUI/OG_CustomCtrl.cpp @@ -582,7 +582,9 @@ void OG_CustomCtrl::CtrlLine::update_visibility(ConfigOptionMode mode) { if (og_line.is_separator()) return; - const std::vector