diff --git a/lib/Slic3r/GUI/Tab.pm b/lib/Slic3r/GUI/Tab.pm index 7a3c1f2c..756cd03d 100644 --- a/lib/Slic3r/GUI/Tab.pm +++ b/lib/Slic3r/GUI/Tab.pm @@ -311,6 +311,9 @@ sub update_tree { sub set_dirty { my $self = shift; my ($dirty) = @_; + + return if $dirty and $self->is_dirty; + return if (not $dirty) and (not $self->is_dirty); my $selection = $self->{presets_choice}->GetSelection; my $i = $self->{dirty} // $selection; #/