mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Bugfix: when an external config was selected in any section, exported settings didn't reflect other sections properly
This commit is contained in:
parent
2f2bc8210a
commit
4fcecf5ef6
3 changed files with 21 additions and 12 deletions
|
@ -835,7 +835,9 @@ sub new_from_cli {
|
|||
|
||||
sub merge {
|
||||
my $class = shift;
|
||||
return $class->new(map %$_, @_);
|
||||
my $config = $class->new;
|
||||
$config->apply($_) for @_;
|
||||
return $config;
|
||||
}
|
||||
|
||||
sub load {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue