diff options
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-x | edit-urpm-sources.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl index af0e2883..46ad56ab 100755 --- a/edit-urpm-sources.pl +++ b/edit-urpm-sources.pl @@ -573,8 +573,8 @@ sub mainwindow { $reorder_ok or return; my @media; $model->foreach(sub { - my (undef, $path) = @_; - my $name = $model->get($path, 1); + my (undef, undef, $iter) = @_; + my $name = $model->get($iter, 1); push @media, find { $_->{name} eq $name } @{$urpm->{media}}; 0; }, undef); |