diff options
Diffstat (limited to 'lib/AdminPanel')
-rw-r--r-- | lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm | 4 |
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 154f304a..3221f26a 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); |