diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index c9d460f30..fc4760711 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -220,7 +220,7 @@ sub load_file { my $self = shift; my ($input_file) = @_; - $Slic3r::GUI::SkeinPanel::last_input_file = $input_file; + $Slic3r::GUI::SkeinPanel::last_skein_dir = dirname($input_file); my $process_dialog = Wx::ProgressDialog->new('Loading...', "Processing input file...", 100, $self, 0); $process_dialog->Pulse;