Respect multiline option flag. #559

This commit is contained in:
Henrik Brix Andersen 2012-07-24 20:16:34 +02:00
parent 0e6d6a9695
commit e02ee17247

View File

@ -212,7 +212,7 @@ sub _trigger_options {
$opt = { $opt = {
opt_key => $full_key, opt_key => $full_key,
config => 1, config => 1,
(map { $_ => $config_opt->{$_} } qw(type label tooltip sidetext width height full_width min max labels values)), (map { $_ => $config_opt->{$_} } qw(type label tooltip sidetext width height full_width min max labels values multiline)),
default => $self->_get_config($opt_key, $index), default => $self->_get_config($opt_key, $index),
on_change => sub { $self->_set_config($opt_key, $index, $_[0]) }, on_change => sub { $self->_set_config($opt_key, $index, $_[0]) },
}; };