From 650c7c96a37ec7899bbd8651019c7c6c185d1242 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Wed, 18 Jan 2023 20:33:07 +0000 Subject: diskdrake: Fix partitions not being displayed for single disks beb610d87e04f2a6e0dd10b43bd417480668ddc1 fixed a problem but introduced a new one, the solution is to call it in 2 places as we really want the call to update_all to do something. Fixes: mga#31396 --- perl-install/NEWS | 3 +++ perl-install/diskdrake/hd_gtk.pm | 1 + 2 files changed, 4 insertions(+) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index 9434f4aa1..1c18208ba 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- diskdrake: fix partitions not being displayed initially on systems with a + single disk (mga#31396) + Version 18.52 - 3 December 2022 - run_program: diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm index f61801d53..ed3955ea7 100644 --- a/perl-install/diskdrake/hd_gtk.pm +++ b/perl-install/diskdrake/hd_gtk.pm @@ -121,6 +121,7 @@ sub main { if (!@children ||!$done_button) { $notebook_widget->set_current_page(-1); $notebook_widget->set_current_page(0); + undef $initializing; $update_all->(2); } undef $initializing; -- cgit v1.2.1