Do not allow recreating luks filesystem.

This commit is contained in:
Andrius Štikonas 2016-05-17 18:53:14 +01:00
parent 374f88fa5f
commit 1dc73f975d
1 changed files with 2 additions and 1 deletions

View File

@ -235,7 +235,8 @@ void PartPropsDialog::updateHideAndShow()
showFileSystem && // only if we also show the file system
partition().fileSystem().supportCreate() != FileSystem::cmdSupportNone && // and support creating this file system
partition().fileSystem().type() != FileSystem::Unknown && // and not for unknown file systems
partition().state() != Partition::StateNew; // or new partitions
partition().state() != Partition::StateNew && // or new partitions
!partition().roles().has(PartitionRole::Luks); // or encrypted filesystems
dialogWidget().showCheckRecreate(showCheckRecreate);