Always show the current file system in the partition properties dialog's file
system combo box, even if it cannot be created, is too big or too small or whatever. BUG: 195156 svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=977467
This commit is contained in:
parent
69a49b27a3
commit
f2fa7f71cb
|
@ -263,7 +263,7 @@ void PartPropsDialog::setupFileSystemComboBox()
|
|||
QStringList fsNames;
|
||||
|
||||
foreach(const FileSystem* fs, FileSystemFactory::map())
|
||||
if (fs->supportCreate() != FileSystem::SupportNone && partition().capacity() >= fs->minCapacity() && partition().capacity() <= fs->maxCapacity())
|
||||
if (partition().fileSystem().type() == fs->type() || (fs->supportCreate() != FileSystem::SupportNone && partition().capacity() >= fs->minCapacity() && partition().capacity() <= fs->maxCapacity()))
|
||||
{
|
||||
QString name = fs->name();
|
||||
|
||||
|
|
Loading…
Reference in New Issue