Merge pull request #2087 from dalto8/encrypt-options
[partition] Restore encryption option to alongside and replace options
This commit is contained in:
commit
35cc54a6b9
@ -1743,5 +1743,7 @@ ChoicePage::shouldShowEncryptWidget( Config::InstallChoice choice ) const
|
|||||||
// If there are any choices for FS, check it's not ZFS because that doesn't
|
// If there are any choices for FS, check it's not ZFS because that doesn't
|
||||||
// support the kind of encryption we enable here.
|
// support the kind of encryption we enable here.
|
||||||
const bool suitableFS = m_eraseFsTypesChoiceComboBox ? m_eraseFsTypesChoiceComboBox->currentText() != "zfs" : true;
|
const bool suitableFS = m_eraseFsTypesChoiceComboBox ? m_eraseFsTypesChoiceComboBox->currentText() != "zfs" : true;
|
||||||
return ( choice == InstallChoice::Erase ) && m_enableEncryptionWidget && suitableFS;
|
const bool suitableChoice
|
||||||
|
= choice == InstallChoice::Erase || choice == InstallChoice::Alongside || choice == InstallChoice::Replace;
|
||||||
|
return suitableChoice && m_enableEncryptionWidget && suitableFS;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user