Fixed editing of the extruder's settings (SPE-735)

This commit is contained in:
YuSanka 2019-01-08 10:15:15 +01:00
parent cfff3832dc
commit 591d42fd76
3 changed files with 12 additions and 10 deletions

View file

@ -1053,7 +1053,7 @@ std::vector<std::string> PresetCollection::dirty_options(const Preset *edited, c
std::vector<std::string> changed;
if (edited != nullptr && reference != nullptr) {
changed = deep_compare ?
deep_diff(reference->config, edited->config) :
deep_diff(edited->config, reference->config) :
reference->config.diff(edited->config);
// The "compatible_printers" option key is handled differently from the others:
// It is not mandatory. If the key is missing, it means it is compatible with any printer.