Call decode_path() on wxWidgets-supplied datadir. #2710
This commit is contained in:
parent
6185f45815
commit
0d6376f3e6
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ sub OnInit {
|
|||
$self->{notifier} = Slic3r::GUI::Notifier->new;
|
||||
|
||||
# locate or create data directory
|
||||
$datadir ||= Wx::StandardPaths::Get->GetUserDataDir;
|
||||
$datadir ||= Slic3r::decode_path(Wx::StandardPaths::Get->GetUserDataDir);
|
||||
my $enc_datadir = Slic3r::encode_path($datadir);
|
||||
Slic3r::debugf "Data directory: %s\n", $datadir;
|
||||
|
||||
|
|
Loading…
Reference in a new issue