FIX: Prompting flush options not take effect when disable wipe tower

Change-Id: Id1195880ebe6021136446dc02ea46224aff4e801
(cherry picked from commit 7edd7f389c97acad8baa0bb809914d3aeeb75fd8)
This commit is contained in:
zhimin.zeng 2022-10-26 11:55:57 +08:00 committed by Lane.Wei
parent 13df80ffb7
commit 09c4a08cb5
2 changed files with 9 additions and 3 deletions

View file

@ -586,6 +586,9 @@ void ConfigManipulation::toggle_print_fff_options(DynamicPrintConfig *config, co
for (auto el : { "prime_tower_width", "prime_volume", "prime_tower_brim_width"})
toggle_line(el, have_prime_tower);
for (auto el : {"flush_into_infill", "flush_into_support", "flush_into_objects"})
toggle_field(el, have_prime_tower);
bool have_avoid_crossing_perimeters = config->opt_bool("reduce_crossing_wall");
toggle_line("max_travel_detour_distance", have_avoid_crossing_perimeters);