diff --git a/lib/Slic3r/GUI/SkeinPanel.pm b/lib/Slic3r/GUI/SkeinPanel.pm index 217fd3ae5..907e9c0d9 100644 --- a/lib/Slic3r/GUI/SkeinPanel.pm +++ b/lib/Slic3r/GUI/SkeinPanel.pm @@ -227,8 +227,8 @@ sub on_close { my $self = shift; my @dirty; - foreach (keys %{$self->{options_tabs}}) { - push (@dirty, $_) if $self->{options_tabs}{$_}->is_dirty; + foreach (values %{$self->{options_tabs}}) { + push (@dirty, $_->title) if $_->is_dirty; } if (@dirty) {