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:
Volker Lanz 2009-06-04 11:07:17 +00:00
parent 69a49b27a3
commit f2fa7f71cb
1 changed files with 1 additions and 1 deletions

View File

@ -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();