From 8cdf9debfbedd0e396544b553e0ddd3ff774abf7 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sat, 28 Jan 2012 15:46:01 +0100 Subject: [PATCH] Bugfix: after the recent changes to --load, the GUI was suggesting a bad name in the save configuration window --- slic3r.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slic3r.pl b/slic3r.pl index e9d3624d8..d9b6ccc05 100755 --- a/slic3r.pl +++ b/slic3r.pl @@ -65,7 +65,7 @@ Slic3r::Config->save($opt{save}) if $opt{save}; # start GUI if (!@ARGV && !$opt{save} && eval "require Slic3r::GUI; 1") { no warnings 'once'; - $Slic3r::GUI::SkeinPanel::last_config = $opt{load}; + $Slic3r::GUI::SkeinPanel::last_config = $opt{load} ? $opt{load}[0] : undef; Slic3r::GUI->new->MainLoop; exit; }