diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index b641398dc..364f9c191 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -1398,12 +1398,12 @@ sub async_apply_config { $self->{toolpaths2D}->reload_print if $self->{toolpaths2D}; $self->{preview3D}->reload_print if $self->{preview3D}; + if (!$Slic3r::GUI::Settings->{_}{background_processing}) { + $self->hide_preview if $invalidated; + return; + } + if ($invalidated) { - if (!$Slic3r::GUI::Settings->{_}{background_processing}) { - $self->hide_preview; - return; - } - # kill current thread if any $self->stop_background_process; # remove the sliced statistics box because something changed.