Fixed loading of configuration files after reverting to a snapshot

storing the old configuration format.
This commit is contained in:
bubnikv 2018-05-16 10:11:00 +02:00
parent 4b87f71bbc
commit 5c44453ced

View file

@ -210,6 +210,10 @@ std::string PresetBundle::load_system_presets()
errors_cummulative += "\n"; errors_cummulative += "\n";
} }
} }
if (first) {
// No config bundle loaded, reset.
this->reset(false);
}
return errors_cummulative; return errors_cummulative;
} }