Reworked AppConfig to mark itself as dirty reliably with any configuration

change and saving AppConfig on idle.
This commit is contained in:
Vojtech Bubnik 2023-02-13 10:08:12 +01:00
parent db77331004
commit 8913fdf6ab
9 changed files with 182 additions and 140 deletions
src/libslic3r

View file

@ -4710,12 +4710,6 @@ CLIMiscConfigDef::CLIMiscConfigDef()
"or an existing PrusaSlicer window is activated. "
"Overrides the \"single_instance\" configuration value from application preferences.");
/*
def = this->add("autosave", coString);
def->label = L("Autosave");
def->tooltip = L("Automatically export current configuration to the specified file.");
*/
def = this->add("datadir", coString);
def->label = L("Data directory");
def->tooltip = L("Load and store settings at the given directory. This is useful for maintaining different profiles or including configurations from a network storage.");