fix(preset): type Feld statt type() Methode in Preset::save()
This commit is contained in:
@@ -643,7 +643,7 @@ void Preset::save(DynamicPrintConfig* parent_config)
|
||||
// Inherited presets (e.g. "My PLA" inheriting "Generic PLA @System") previously had
|
||||
// no filament_id which caused AMS sync to fall back to the parent's Generic ID.
|
||||
if (this->is_user() && this->filament_id.empty() && !this->name.empty() &&
|
||||
this->type() == Preset::TYPE_FILAMENT) {
|
||||
this->type == Preset::TYPE_FILAMENT) {
|
||||
boost::uuids::detail::md5 hash;
|
||||
boost::uuids::detail::md5::digest_type digest;
|
||||
hash.process_bytes(this->name.data(), this->name.size());
|
||||
|
||||
Reference in New Issue
Block a user