From 23119e36735a62bef7319a982da441c9fcdc6ed1 Mon Sep 17 00:00:00 2001 From: Daren Schwenke Date: Mon, 1 Jun 2015 02:48:11 -0400 Subject: [PATCH] Fixes #2858 --- lib/Slic3r/GUI/Plater.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {