mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 03:15:51 +08:00
Merge branch 'master' of https://github.com/prusa3d/Slic3r
This commit is contained in:
commit
c56004f946
@ -2596,7 +2596,7 @@ void Tab::select_preset(std::string preset_name)
|
|||||||
// The preset will be switched to a different, compatible preset, or the '-- default --'.
|
// The preset will be switched to a different, compatible preset, or the '-- default --'.
|
||||||
if (pu.technology == new_printer_technology)
|
if (pu.technology == new_printer_technology)
|
||||||
m_dependent_tabs.emplace_back(pu.tab_type);
|
m_dependent_tabs.emplace_back(pu.tab_type);
|
||||||
if (pu.old_preset_dirty)
|
if (pu.old_preset_dirty && !pu.new_preset_compatible)
|
||||||
pu.presets->discard_current_changes();
|
pu.presets->discard_current_changes();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user