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', ...@@ -928,7 +928,7 @@ our @audioExtensions = ('.m3u','.pls','.asx','.wax','.wvx','.b4s','.kpl','.ram',
my ($self, $value) = @_; my ($self, $value) = @_;
my @values = split m/;/, $value; my @values = split m/;/, $value;
$self->{from}->setValue($values[0]); $self->{from}->setValue($values[0]);
$self->{to}->setValue($values[0]); $self->{to}->setValue($values[1]);
} }
sub setWidth sub setWidth
...@@ -1129,9 +1129,9 @@ our @audioExtensions = ('.m3u','.pls','.asx','.wax','.wvx','.b4s','.kpl','.ram', ...@@ -1129,9 +1129,9 @@ our @audioExtensions = ('.m3u','.pls','.asx','.wax','.wvx','.b4s','.kpl','.ram',
$dialog->set_pattern_filter($self->{patterns}) $dialog->set_pattern_filter($self->{patterns})
if $self->{patterns}; if $self->{patterns};
my $response = $dialog->run; my $response = $dialog->run;
if ($response eq 'ok') if ($response eq 'ok')
{ {
$self->setValue($dialog->get_filename); $self->setValue($dialog->get_filename);
} }
$dialog->hide; $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