mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Fixed SPE-1000.
Since the value inserted from the keyboard or clipboard is not updated under OSX, we forcibly set the input value for SpinControl every time during editing. Thus we can't set min control value bigger then 0. Otherwise, it couldn't be possible to input from keyboard value less then min_val.
This commit is contained in:
@@ -2306,13 +2306,13 @@ void PrintConfigDef::init_sla_params()
|
||||
def->full_label = L("Number of pixels in");
|
||||
def->label = ("X");
|
||||
def->tooltip = L("Number of pixels in X");
|
||||
def->min = 1;
|
||||
def->min = 100;
|
||||
def->set_default_value(new ConfigOptionInt(2560));
|
||||
|
||||
def = this->add("display_pixels_y", coInt);
|
||||
def->label = ("Y");
|
||||
def->tooltip = L("Number of pixels in Y");
|
||||
def->min = 1;
|
||||
def->min = 100;
|
||||
def->set_default_value(new ConfigOptionInt(1440));
|
||||
|
||||
def = this->add("display_mirror_x", coBool);
|
||||
|
||||
Reference in New Issue
Block a user