summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2023-01-18 20:33:07 +0000
committerPascal Terjan <pterjan@mageia.org>2023-01-18 20:40:04 +0000
commit650c7c96a37ec7899bbd8651019c7c6c185d1242 (patch)
tree02638f11a805953d303769f1c5de13b8bc04496f /perl-install/diskdrake
parent3c72d1b73d71788f425276817f0c301ddb5dd0f7 (diff)
downloaddrakx-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
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm1
1 files changed, 1 insertions, 0 deletions
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;