Bugfix: after the recent changes to --load, the GUI was suggesting a bad name in the save configuration window
This commit is contained in:
parent
669341cd11
commit
8cdf9debfb
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ Slic3r::Config->save($opt{save}) if $opt{save};
|
||||||
# start GUI
|
# start GUI
|
||||||
if (!@ARGV && !$opt{save} && eval "require Slic3r::GUI; 1") {
|
if (!@ARGV && !$opt{save} && eval "require Slic3r::GUI; 1") {
|
||||||
no warnings 'once';
|
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;
|
Slic3r::GUI->new->MainLoop;
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue