diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-05-28 16:16:22 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-05-28 16:16:22 +0000 |
commit | 7c24ad54c5d4148eb957c6bcdb0d78180d7341ce (patch) | |
tree | 48ee6b6816e93615ab3e3104c80230f6aa966bc5 /edit-urpm-sources.pl | |
parent | 9f58b8821b335c1c3851ae60f998c693b1eca377 (diff) | |
download | rpmdrake-7c24ad54c5d4148eb957c6bcdb0d78180d7341ce.tar rpmdrake-7c24ad54c5d4148eb957c6bcdb0d78180d7341ce.tar.gz rpmdrake-7c24ad54c5d4148eb957c6bcdb0d78180d7341ce.tar.bz2 rpmdrake-7c24ad54c5d4148eb957c6bcdb0d78180d7341ce.tar.xz rpmdrake-7c24ad54c5d4148eb957c6bcdb0d78180d7341ce.zip |
fix removing of a media would not clear all the medias list :(
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-x | edit-urpm-sources.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl index c9f9abbe..406e2bb0 100755 --- a/edit-urpm-sources.pl +++ b/edit-urpm-sources.pl @@ -255,6 +255,7 @@ sub mainwindow { my $reorder_ok = 1; $list->signal_connect(row_deleted => sub { my ($model) = @_; + $reorder_ok or return; my @medias; $model->foreach(sub { my (undef, $path) = @_; |