To OptionsGroup added "reload_config" to reload configurations after changes in any fields & "get_config_value" to get current option value from config.

In Field extended "set_value" to Choice.
In PrintConfig added default_value to "post_process".
This commit is contained in:
YuSanka 2018-01-09 09:41:07 +01:00
parent 16458e070a
commit 59432d50ff
8 changed files with 168 additions and 12 deletions

View file

@ -999,7 +999,8 @@ PrintConfigDef::PrintConfigDef()
def->gui_flags = "serialized";
def->multiline = true;
def->full_width = true;
def->height = 60;
def->height = 60;
def->default_value = new ConfigOptionStrings{ "" };
def = this->add("printer_notes", coString);
def->label = "Printer notes";