aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xedit-urpm-sources.pl1
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) = @_;