aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm')
-rw-r--r--lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm b/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm
index 154f304..3221f26 100644
--- a/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm
+++ b/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm
@@ -1661,7 +1661,9 @@ sub mainwindow() {
$factory->createHSpacing($hbox, 1.0);
my $enabled = $factory->createCheckBox($factory->createLeft($hbox), $loc->N("Enabled"));
my $update = $factory->createCheckBox($factory->createLeft($hbox), $loc->N("Updates"));
- _showMediaStatus({item => $item, enabled => $enabled, updates => $update});
+ eval {
+ _showMediaStatus({item => $item, enabled => $enabled, updates => $update});
+ };
$update->setNotify(1);
$enabled->setNotify(1);
$update->setDisabled() if (!$::expert);