From 9cd1df97d6c1510699489e076c52e1ff5fbbf408 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 142c08435..84bfd1f9f 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") :