diff options
author | Pascal Terjan <pterjan@mageia.org> | 2023-01-18 20:33:07 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2023-01-18 20:40:04 +0000 |
commit | 650c7c96a37ec7899bbd8651019c7c6c185d1242 (patch) | |
tree | 02638f11a805953d303769f1c5de13b8bc04496f | |
parent | 3c72d1b73d71788f425276817f0c301ddb5dd0f7 (diff) | |
download | drakx-650c7c96a37ec7899bbd8651019c7c6c185d1242.tar drakx-650c7c96a37ec7899bbd8651019c7c6c185d1242.tar.gz drakx-650c7c96a37ec7899bbd8651019c7c6c185d1242.tar.bz2 drakx-650c7c96a37ec7899bbd8651019c7c6c185d1242.tar.xz drakx-650c7c96a37ec7899bbd8651019c7c6c185d1242.zip |
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
-rw-r--r-- | perl-install/NEWS | 3 | ||||
-rw-r--r-- | perl-install/diskdrake/hd_gtk.pm | 1 |
2 files changed, 4 insertions, 0 deletions
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; |