Skip to content
Snippets Groups Projects
Unverified Commit a63c474d authored by Adriaan de Groot's avatar Adriaan de Groot Committed by GitHub
Browse files

Merge pull request #1948 from dalto8/zfsencryption

[partition] Don't offer whole disk encryption when zfs is selected
parents d318778f 31c81236
No related branches found
No related tags found
No related merge requests found
......@@ -457,7 +457,6 @@ ChoicePage::continueApplyDeviceChoice()
Q_EMIT deviceChosen();
}
void
ChoicePage::onActionChanged()
{
......@@ -466,6 +465,15 @@ ChoicePage::onActionChanged()
{
applyActionChoice( m_config->installChoice() );
}
// Whole disk encryption isn't implemented for zfs so disable the option for now
if ( m_eraseFsTypesChoiceComboBox != nullptr && m_enableEncryptionWidget ) {
if ( m_eraseFsTypesChoiceComboBox->currentText() == "zfs" ) {
m_encryptWidget->hide();
} else {
m_encryptWidget->show();
}
}
}
void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment