Fixed an error when importing / exporting Config Bundles with

at least one SLA print or SLA material defined.
This commit is contained in:
bubnikv 2019-02-03 20:17:55 +01:00
parent 1905d49ade
commit bcab373a54
3 changed files with 17 additions and 2 deletions

View file

@ -230,7 +230,10 @@ public:
void reset(bool delete_files);
Preset::Type type() const { return m_type; }
// Name, to be used on the screen and in error messages. Not localized.
std::string name() const;
// Name, to be used as a section name in config bundle, and as a folder name for presets.
std::string section_name() const;
const std::deque<Preset>& operator()() const { return m_presets; }
// Add default preset at the start of the collection, increment the m_default_preset counter.