mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-19 09:08:57 +08:00
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
This commit is contained in:
commit
dd0e527d6d
@ -2795,7 +2795,7 @@ void Tab::select_preset(std::string preset_name, bool delete_current)
|
|||||||
if (! canceled) {
|
if (! canceled) {
|
||||||
// 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 --'.
|
||||||
m_dependent_tabs.emplace_back((printer_technology == ptFFF) ? Preset::Type::TYPE_FILAMENT : Preset::Type::TYPE_SLA_MATERIAL);
|
m_dependent_tabs.emplace_back((printer_technology == ptFFF) ? Preset::Type::TYPE_FILAMENT : Preset::Type::TYPE_SLA_MATERIAL);
|
||||||
if (old_preset_dirty)
|
if (old_preset_dirty && ! new_preset_compatible)
|
||||||
dependent.discard_current_changes();
|
dependent.discard_current_changes();
|
||||||
}
|
}
|
||||||
} else if (printer_tab) {
|
} else if (printer_tab) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user