--- Slim/Buttons/Input/Choice.pm 2006-07-26 00:49:00.000000000 -0700 +++ server/Slim/Buttons/Input/Choice.pm 2006-07-31 14:37:22.132812500 -0700 @@ -399,11 +399,16 @@ sub lines { my ($overlay1, $overlay2); my $overlayref = getExtVal($client, getParam($client, 'overlayRef')); - + if (ref($overlayref) eq 'ARRAY') { ($overlay1, $overlay2) = @$overlayref; $overlay1 = $client->symbols($overlay1) if (defined($overlay1)); $overlay2 = $client->symbols($overlay2) if (defined($overlay2)); + } elsif (my $pref = getParam($client,'pref')) { + + # assume a single non-descending list of items, 'pref' item must be given in the params + $overlay2 = Slim::Buttons::Common::checkBoxOverlay($client->prefGet($pref) eq getItemValue($client)); + $client->update; } my $parts = {