From 28574ea8c328a5f5138fefb818f2e59d5b6e2532 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 6 Mar 2007 13:18:22 +0000 Subject: (edit_callback) fix editing a medium (#29204) --- Rpmdrake/edit_urpm_sources.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Rpmdrake/edit_urpm_sources.pm') 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); -- cgit v1.2.1