[partition] When changing encryption-widget visibility, re-check next

This commit is contained in:
Adriaan de Groot 2022-05-20 12:02:25 +02:00
parent 51e3ac0ded
commit e7f6ead038

View File

@ -125,6 +125,8 @@ ChoicePage::ChoicePage( Config* config, QWidget* parent )
m_encryptWidget->hide(); m_encryptWidget->hide();
m_reuseHomeCheckBox->hide(); m_reuseHomeCheckBox->hide();
gs->insert( "reuseHome", false ); gs->insert( "reuseHome", false );
updateNextEnabled();
} }
@ -478,6 +480,7 @@ ChoicePage::onActionChanged()
m_encryptWidget->show(); m_encryptWidget->show();
} }
} }
updateNextEnabled();
} }
void void
@ -1205,6 +1208,8 @@ ChoicePage::updateActionChoicePreview( InstallChoice choice )
m_beforePartitionBarsView->setSelectionMode( previewSelectionMode ); m_beforePartitionBarsView->setSelectionMode( previewSelectionMode );
m_beforePartitionLabelsView->setSelectionMode( previewSelectionMode ); m_beforePartitionLabelsView->setSelectionMode( previewSelectionMode );
updateNextEnabled();
} }