Never show encrypt options for Extended partitions.
This commit is contained in:
parent
97bd4e94e1
commit
80b01010a6
|
@ -223,7 +223,7 @@ void NewDialog::updateHideAndShow()
|
||||||
dialogWidget().label().setReadOnly(false);
|
dialogWidget().label().setReadOnly(false);
|
||||||
dialogWidget().noSetLabel().setVisible(false);
|
dialogWidget().noSetLabel().setVisible(false);
|
||||||
}
|
}
|
||||||
if (FS::luks::canEncryptType(FileSystem::typeForName(dialogWidget().comboFileSystem().currentText())))
|
if (FS::luks::canEncryptType(FileSystem::typeForName(dialogWidget().comboFileSystem().currentText())) && !partition().roles().has(PartitionRole::Extended) )
|
||||||
{
|
{
|
||||||
dialogWidget().checkBoxEncrypt().show();
|
dialogWidget().checkBoxEncrypt().show();
|
||||||
if (dialogWidget().checkBoxEncrypt().isChecked())
|
if (dialogWidget().checkBoxEncrypt().isChecked())
|
||||||
|
|
Loading…
Reference in New Issue