Temporary workaround for compatibility with older Slicer:

To the "physical_printer" added "preset_name" option as a duplicate of the "preset_names" but like one string.
Note: It will works just for printer preset names without ";" (see #5503)
This commit is contained in:
YuSanka 2021-07-20 10:18:59 +02:00
parent cc92757cdc
commit bf981ae049
2 changed files with 16 additions and 0 deletions

View file

@ -317,6 +317,12 @@ void PrintConfigDef::init_common_params()
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionStrings());
// temporary workaround for compatibility with older Slicer
{
def = this->add("preset_name", coString);
def->set_default_value(new ConfigOptionString());
}
def = this->add("printhost_authorization_type", coEnum);
def->label = L("Authorization Type");
// def->tooltip = L("");