mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-04-06 00:32:05 +02:00
Fix: Hiding the ironing_angle_fixed setting in the UI if the ironing is disabled (#11286)
* Fix: Hiding the `ironing_angle_fixed` setting in the UI if the ironing is disabled
This commit is contained in:
@@ -780,7 +780,7 @@ void ConfigManipulation::toggle_print_fff_options(DynamicPrintConfig *config, co
|
||||
toggle_field(el, have_support_material && !(support_is_normal_tree && !have_raft));
|
||||
|
||||
bool has_ironing = (config->opt_enum<IroningType>("ironing_type") != IroningType::NoIroning);
|
||||
for (auto el : { "ironing_pattern", "ironing_flow", "ironing_spacing", "ironing_angle", "ironing_inset"})
|
||||
for (auto el : { "ironing_pattern", "ironing_flow", "ironing_spacing", "ironing_angle", "ironing_inset", "ironing_angle_fixed" })
|
||||
toggle_line(el, has_ironing);
|
||||
|
||||
toggle_line("ironing_speed", has_ironing || has_support_ironing);
|
||||
|
||||
Reference in New Issue
Block a user