mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-04 04:24:04 -06:00
New option to remember last output directory. #698
This commit is contained in:
parent
f5bda326b8
commit
6db8afe36d
4 changed files with 23 additions and 2 deletions
|
@ -304,6 +304,15 @@ sub check_version {
|
|||
})->detach;
|
||||
}
|
||||
|
||||
sub output_path {
|
||||
my $class = shift;
|
||||
my ($dir) = @_;
|
||||
|
||||
return ($Settings->{_}{last_output_path} && $Settings->{_}{remember_output_path})
|
||||
? $Settings->{_}{last_output_path}
|
||||
: $dir;
|
||||
}
|
||||
|
||||
package Slic3r::GUI::ProgressStatusBar;
|
||||
use Wx qw(:gauge :misc);
|
||||
use base 'Wx::StatusBar';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue