mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07: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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user