Fix LUKS encryption support for filesystems without support for writing label.
This enables LUKS encryption for Reiser4 and LVM PV.
This commit is contained in:
parent
13031913f4
commit
b3303ee6bf
|
@ -210,12 +210,10 @@ void NewDialog::updateHideAndShow()
|
|||
} else {
|
||||
dialogWidget().label().setReadOnly(false);
|
||||
dialogWidget().noSetLabel().setVisible(false);
|
||||
if (FS::luks::canEncryptType(
|
||||
FileSystem::typeForName(dialogWidget()
|
||||
.comboFileSystem()
|
||||
.currentText())))
|
||||
dialogWidget().checkBoxEncrypt().show();
|
||||
else
|
||||
dialogWidget().checkBoxEncrypt().hide();
|
||||
}
|
||||
if (FS::luks::canEncryptType(FileSystem::typeForName(dialogWidget().comboFileSystem().currentText())))
|
||||
dialogWidget().checkBoxEncrypt().show();
|
||||
else
|
||||
dialogWidget().checkBoxEncrypt().hide();
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue