Allowing ints with open enums in combo boxes.

This commit is contained in:
Vojtech Bubnik committed 2021-03-15 09:55:57 +01:00
1 parent 73b88e6ce0
commit 2494a8f384
2 files changed
+18 -6

No files matched your search

+2 -2
View File
@@ -2318,7 +2318,7 @@ void PrintConfigDef::init_fff_params()
def->set_default_value(new ConfigOptionInt(1));
auto support_material_interface_layers = def = this->add("support_material_interface_layers", coInt);
def->gui_type = "f_enum_open";
def->gui_type = "i_enum_open";
def->label = L("Top interface layers");
def->category = L("Support material");
def->tooltip = L("Number of interface layers to insert between the object(s) and support material.");
@@ -2336,7 +2336,7 @@ void PrintConfigDef::init_fff_params()
def->set_default_value(new ConfigOptionInt(3));
def = this->add("support_material_bottom_interface_layers", coInt);
def->gui_type = "f_enum_open";
def->gui_type = "i_enum_open";
def->label = L("Bottom interface layers");
def->category = L("Support material");
def->tooltip = L("Number of interface layers to insert between the object(s) and support material. "