Exclude FileSystem::Luks2 from New File System dialog.
Just like with Luks1, we only want to create Luks2 containers with some other file system inside.
This commit is contained in:
parent
b4b5dcd804
commit
eaff75dc1b
|
@ -74,7 +74,8 @@ void NewDialog::setupDialog()
|
|||
for (const auto &fs : FileSystemFactory::map()) {
|
||||
if (fs->supportCreate() != FileSystem::cmdSupportNone &&
|
||||
fs->type() != FileSystem::Extended &&
|
||||
fs->type() != FileSystem::Luks)
|
||||
fs->type() != FileSystem::Luks &&
|
||||
fs->type() != FileSystem::Luks2)
|
||||
fsNames.append(fs->name());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue