1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-08-01 11:25:50 +00:00

Remember last config file path when loaded from CLI too

This commit is contained in:
Alessandro Ranellucci
2011-12-26 19:45:01 +01:00
parent d6dcb35237
commit 62ee79f0c9
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -59,6 +59,8 @@ 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->new->MainLoop;
exit;
}