Check min/max values for SpinCtrls in Settings Tabs

+ Set max value for "extruders_count" to 256
This commit is contained in:
YuSanka 2021-08-12 10:15:46 +02:00
parent 021688fe50
commit 131d2ace50
2 changed files with 20 additions and 11 deletions

View file

@ -2208,6 +2208,7 @@ void TabPrinter::build_fff()
def.label = L("Extruders");
def.tooltip = L("Number of extruders of the printer.");
def.min = 1;
def.max = 256;
def.mode = comExpert;
Option option(def, "extruders_count");
optgroup->append_single_option_line(option);