Do not allow creating LVM LV with no name.

This commit is contained in:
Andrius Štikonas 2016-08-27 00:16:32 +01:00
parent cafbf8d30c
commit e8fee5dd23
1 changed files with 1 additions and 0 deletions

View File

@ -223,6 +223,7 @@ void NewDialog::onFilesystemChanged(int idx)
updateFileSystem(FileSystem::typeForName(dialogWidget().comboFileSystem().itemText(idx)));
setupConstraints();
updateOkButtonStatus();
const FileSystem* fs = FileSystemFactory::create(FileSystem::typeForName(dialogWidget().comboFileSystem().currentText()), -1, -1, -1, QString());
dialogWidget().m_EditLabel->setMaxLength(fs->maxLabelLength());