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