Commit 3925baaf authored by Kerenoc's avatar Kerenoc

Fix range for advanced search (contrib from van der Decken)

parent e72724f5
......@@ -928,7 +928,7 @@ our @audioExtensions = ('.m3u','.pls','.asx','.wax','.wvx','.b4s','.kpl','.ram',
my ($self, $value) = @_;
my @values = split m/;/, $value;
$self->{from}->setValue($values[0]);
$self->{to}->setValue($values[0]);
$self->{to}->setValue($values[1]);
}
sub setWidth
......@@ -1129,9 +1129,9 @@ our @audioExtensions = ('.m3u','.pls','.asx','.wax','.wvx','.b4s','.kpl','.ram',
$dialog->set_pattern_filter($self->{patterns})
if $self->{patterns};
my $response = $dialog->run;
if ($response eq 'ok')
{
my $response = $dialog->run;
if ($response eq 'ok')
{
$self->setValue($dialog->get_filename);
}
$dialog->hide;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment