summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xmdkapplet2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 8843270a..51b0d9c1 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- mdkapplet
o add version to distribution list requests
+ o fix a crash (#55346)
- mdkapplet-upgrade-helper
o make sure utf8.pm is loaded before starting an upgrade (#55090)
diff --git a/mdkapplet b/mdkapplet
index 9d2a898c..8970c1a9 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -440,7 +440,7 @@ sub confirm_upgrade() {
gtknew('CheckButton', text => N("Download all packages at once") . "\n" .
N("(Warning: You will need quite a lot of free space)"),
active_ref => \$download_all, sensitive_ref => \$browse,
- toggled => sub { $box->set_sensitive($download_all) },
+ toggled => sub { $box and $box->set_sensitive($download_all) },
),
$box = gtknew('HBox', sensitive => $download_all,
children => [