mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-25 21:46:30 +01:00
Improved error handling when importing configuration from a G-code.
This commit is contained in:
1 parent
f7334f58d3
commit
2ac981e422
5 files changed
+47
-15
No files matched your search
@@ -548,12 +548,13 @@ sub load_config_file {
|
||||
$file = Slic3r::decode_path($dlg->GetPaths);
|
||||
$dlg->Destroy;
|
||||
}
|
||||
for my $tab (values %{$self->{options_tabs}}) {
|
||||
# Dont proceed further if the config file cannot be loaded.
|
||||
return undef if ! $tab->load_config_file($file);
|
||||
}
|
||||
$Slic3r::GUI::Settings->{recent}{config_directory} = dirname($file);
|
||||
wxTheApp->save_settings;
|
||||
$last_config = $file;
|
||||
for my $tab (values %{$self->{options_tabs}}) {
|
||||
$tab->load_config_file($file);
|
||||
}
|
||||
}
|
||||
|
||||
sub export_configbundle {
|
||||
|
||||
Reference in new issue
Block a user