diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index 8589887a6..c4c3ea544 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -471,7 +471,7 @@ sub update_presets { sub filament_presets { my $self = shift; - return map $_->GetSelection, @{ $self->{preset_choosers}{filament} }; + return map scalar($_->GetSelection), @{ $self->{preset_choosers}{filament} }; } sub add {