New option to remember last output directory. #698

This commit is contained in:
Alessandro Ranellucci 2013-04-27 21:07:30 +02:00
parent f5bda326b8
commit 6db8afe36d
4 changed files with 23 additions and 2 deletions

View file

@ -30,6 +30,13 @@ sub new {
default => $Slic3r::GUI::Settings->{_}{version_check} // 1,
readonly => !Slic3r::GUI->have_version_check,
},
{
opt_key => 'remember_output_path',
type => 'bool',
label => 'Remember output directory',
tooltip => 'If this is enabled, Slic3r will prompt the last output directory instead of the one containing the input files.',
default => $Slic3r::GUI::Settings->{_}{remember_output_path},
},
],
on_change => sub { $self->{values}{$_[0]} = $_[1] },
label_width => 100,