Bugfix: wizard crashing in Simple Mode. #1077 #1122

This commit is contained in:
Alessandro Ranellucci 2013-06-01 18:56:23 +02:00
parent d801876ee9
commit 30ce7dc745

View File

@ -78,6 +78,17 @@ sub load_config {
}
}
sub set_value {
my $self = shift;
my ($opt_key, $value) = @_;
my $changed = 0;
foreach my $optgroup (@{$self->{optgroups}}) {
$changed = 1 if $optgroup->set_value($opt_key, $value);
}
return $changed;
}
sub is_dirty { 0 }
sub config { $_[0]->{config}->clone }