aboutsummaryrefslogtreecommitdiffstats
path: root/edit-urpm-sources.pl
diff options
context:
space:
mode:
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-xedit-urpm-sources.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl
index 5ac174f1..7aa45f55 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -638,7 +638,7 @@ sub mainwindow {
$tr->signal_connect(toggled => sub {
my (undef, $path) = @_;
my $iter = $list->get_iter_from_string($path);
- invbool(\$urpm->{media}[$path]{ignore});
+ $urpm->{media}[$path]{ignore} = !$urpm->{media}[$path]{ignore} || undef;
$list->set($iter, 0, !$urpm->{media}[$path]{ignore});
});