aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-06 13:18:22 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-06 13:18:22 +0000
commit28574ea8c328a5f5138fefb818f2e59d5b6e2532 (patch)
tree68e3c0a09d23ba7ea471292fef289265382b647e /Rpmdrake
parentbaddc07a805f9411ccc102d87c75489369a1365e (diff)
downloadrpmdrake-28574ea8c328a5f5138fefb818f2e59d5b6e2532.tar
rpmdrake-28574ea8c328a5f5138fefb818f2e59d5b6e2532.tar.gz
rpmdrake-28574ea8c328a5f5138fefb818f2e59d5b6e2532.tar.bz2
rpmdrake-28574ea8c328a5f5138fefb818f2e59d5b6e2532.tar.xz
rpmdrake-28574ea8c328a5f5138fefb818f2e59d5b6e2532.zip
(edit_callback) fix editing a medium (#29204)
Diffstat (limited to 'Rpmdrake')
-rwxr-xr-xRpmdrake/edit_urpm_sources.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index f49f6c92..ca2305b7 100755
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -400,7 +400,7 @@ sub downwards_callback() {
#- returns the name of the media for which edition failed, or undef on success
sub edit_callback() {
- my $row = selrow();
+ my ($row) = selected_rows(); # selrow
$row == -1 and return;
my $medium = $urpm->{media}[$row];
my $config = urpm::cfg::load_config_raw($urpm->{config}, 1);