Fixed #1949
This commit is contained in:
parent
0b4dbc87c7
commit
5ecd78434c
2 changed files with 2 additions and 4 deletions
src/slic3r/GUI
|
@ -655,9 +655,7 @@ void ObjectList::get_options_menu(settings_menu_hierarchy& settings_menu, const
|
|||
if (category.empty() ||
|
||||
(category == "Extruders" && extruders_cnt == 1)) continue;
|
||||
|
||||
const std::string& label = opt->label.empty() ? opt->full_label :
|
||||
opt->full_label.empty() ? opt->label :
|
||||
opt->full_label + " " + opt->label;;
|
||||
const std::string& label = !opt->full_label.empty() ? opt->full_label : opt->label;
|
||||
std::pair<std::string, std::string> option_label(option, label);
|
||||
std::vector< std::pair<std::string, std::string> > new_category;
|
||||
auto& cat_opt_label = settings_menu.find(category) == settings_menu.end() ? new_category : settings_menu.at(category);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue