From b657ef8ce1419188f539fc204926805e0cd61432 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Tue, 7 Dec 2021 16:25:22 +0100 Subject: [PATCH] Fixed #7446 - Removed 'support' label makes the terms in the support selector confusing. --- src/slic3r/GUI/OptionsGroup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/OptionsGroup.cpp b/src/slic3r/GUI/OptionsGroup.cpp index 142c0843564..84bfd1f9f60 100644 --- a/src/slic3r/GUI/OptionsGroup.cpp +++ b/src/slic3r/GUI/OptionsGroup.cpp @@ -344,7 +344,7 @@ void OptionsGroup::activate_line(Line& line) ConfigOptionDef option = opt.opt; wxSizer* sizer_tmp = sizer; // add label if any - if (is_multioption_line && !option.label.empty() && !custom_ctrl) { + if ((is_multioption_line || line.label.IsEmpty()) && !option.label.empty() && !custom_ctrl) { //! To correct translation by context have to use wxGETTEXT_IN_CONTEXT macro from wxWidget 3.1.1 wxString str_label = (option.label == L_CONTEXT("Top", "Layers") || option.label == L_CONTEXT("Bottom", "Layers")) ? _CTX(option.label, "Layers") :