aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-06-24 19:13:38 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-06-24 19:13:38 +0200
commitb2f7e8318abf39a6403245dc6c4a9069fb758211 (patch)
tree3b95aeb9c706977b78443df24ab132cc9e18dfe3 /Rpmdrake
parentaf1acadc6ee036391b7c50af7eaba28198deae2a (diff)
downloadrpmdrake-b2f7e8318abf39a6403245dc6c4a9069fb758211.tar
rpmdrake-b2f7e8318abf39a6403245dc6c4a9069fb758211.tar.gz
rpmdrake-b2f7e8318abf39a6403245dc6c4a9069fb758211.tar.bz2
rpmdrake-b2f7e8318abf39a6403245dc6c4a9069fb758211.tar.xz
rpmdrake-b2f7e8318abf39a6403245dc6c4a9069fb758211.zip
fix down arrow button not working (mga#13572)
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/edit_urpm_sources.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index 580800d6..f9322504 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -457,8 +457,8 @@ sub downwards_callback() {
@rows == 0 and return;
my $model = $list_tv->get_model;
my $iter = $model->get_iter_from_string($rows[0]);
- my $next = $iter;
- $model->iter_next($next) and renum_media($model, $iter, $next);
+ my $next = $model->get_iter_from_string($rows[0] + 1);
+ defined $next and renum_media($model, $iter, $next);
$list_tv->get_selection->signal_emit('changed');
}