Merged new methods for handling menus with icons,

merged "Use submenus for listing options in dropdown menu." #3905
thanks @alexrj
Adapted the "Use submenus" code to sort the menus in the same order
as they appear in the parameter tabs.
This commit is contained in:
bubnikv 2017-08-04 16:28:01 +02:00
parent 632bf56f29
commit 3b54b68b59
4 changed files with 69 additions and 13 deletions

View file

@ -1127,7 +1127,7 @@ PrintConfigDef::PrintConfigDef()
def = this->add("seam_position", coEnum);
def->label = "Seam position";
def->category = "Layers and perimeters";
def->category = "Layers and Perimeters";
def->tooltip = "Position of perimeters starting points.";
def->cli = "seam-position=s";
def->enum_keys_map = ConfigOptionEnum<SeamPosition>::get_enum_values();