From e7f6ead038588104a457998f0f2272b8ccde4b1b Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Fri, 20 May 2022 12:02:25 +0200 Subject: [PATCH] [partition] When changing encryption-widget visibility, re-check next --- src/modules/partition/gui/ChoicePage.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index f3b49335b..882be1022 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -125,6 +125,8 @@ ChoicePage::ChoicePage( Config* config, QWidget* parent ) m_encryptWidget->hide(); m_reuseHomeCheckBox->hide(); gs->insert( "reuseHome", false ); + + updateNextEnabled(); } @@ -478,6 +480,7 @@ ChoicePage::onActionChanged() m_encryptWidget->show(); } } + updateNextEnabled(); } void @@ -1205,6 +1208,8 @@ ChoicePage::updateActionChoicePreview( InstallChoice choice ) m_beforePartitionBarsView->setSelectionMode( previewSelectionMode ); m_beforePartitionLabelsView->setSelectionMode( previewSelectionMode ); + + updateNextEnabled(); }