Bugfix: when an external config was selected in any section, exported settings didn't reflect other sections properly

This commit is contained in:
Alessandro Ranellucci 2012-08-08 19:36:34 +02:00
parent 2f2bc8210a
commit 4fcecf5ef6
3 changed files with 21 additions and 12 deletions

View file

@ -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 {