summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakups
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-31 09:15:50 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-31 09:15:50 +0000
commit4f667f62a6af26018d73622eb9c4ad0e7641910f (patch)
tree03b919591630cef1e263e73ba067520fbb8ecb9c /perl-install/standalone/drakups
parent983eec2a8c915d30772ad1c5111da1bb4a09de43 (diff)
downloaddrakx-4f667f62a6af26018d73622eb9c4ad0e7641910f.tar
drakx-4f667f62a6af26018d73622eb9c4ad0e7641910f.tar.gz
drakx-4f667f62a6af26018d73622eb9c4ad0e7641910f.tar.bz2
drakx-4f667f62a6af26018d73622eb9c4ad0e7641910f.tar.xz
drakx-4f667f62a6af26018d73622eb9c4ad0e7641910f.zip
(del_callback) fix crash while removing an item (#34413)
Diffstat (limited to 'perl-install/standalone/drakups')
-rwxr-xr-xperl-install/standalone/drakups2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakups b/perl-install/standalone/drakups
index 1279e5797..b350bb922 100755
--- a/perl-install/standalone/drakups
+++ b/perl-install/standalone/drakups
@@ -237,7 +237,7 @@ sub edit_callback {
sub del_callback {
my ($model, $list) = @_;
my (undef, $iter) = $list->get_selection->get_selected;
- my $removed_idx = $list->get($iter, 0); # 1st column is index
+ my $removed_idx = $model->get($iter, 0); # 1st column is index
#@rules = grep { $_->{index} ne $removed_idx } @rules;
#$tree->remove($iter);
#sensitive_buttons(0);