Fixed #1949
This commit is contained in:
parent
0b4dbc87c7
commit
5ecd78434c
2 changed files with 2 additions and 4 deletions
|
@ -405,7 +405,7 @@ void PrintConfigDef::init_fff_params()
|
|||
|
||||
def = this->add("bottom_fill_pattern", coEnum);
|
||||
*def = *def_top_fill_pattern;
|
||||
def->label = L("Bottom Pattern");
|
||||
def->label = L("Bottom fill pattern");
|
||||
def->tooltip = L("Fill pattern for bottom infill. This only affects the bottom external visible layer, and not its adjacent solid shells.");
|
||||
def->cli = "bottom-fill-pattern|external-fill-pattern|solid-fill-pattern";
|
||||
def->default_value = new ConfigOptionEnum<InfillPattern>(ipRectilinear);
|
||||
|
|
|
@ -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…
Reference in a new issue