mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 11:09:01 +08:00
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
@ -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…
x
Reference in New Issue
Block a user