[partition] Fixing LVM LV name line edit visibility.

This commit is contained in:
Caio Carvalho 2018-08-13 13:05:41 -03:00
parent b5a2a5bbdd
commit 01a972c6ea

View File

@ -72,7 +72,7 @@ CreatePartitionDialog::CreatePartitionDialog( Device* device, PartitionNode* par
m_ui->encryptWidget->setText( tr( "En&crypt" ) );
m_ui->encryptWidget->hide();
if (m_device->type() == Device::Type::Disk_Device) {
if (m_device->type() != Device::Type::LVM_Device) {
m_ui->lvNameLabel->hide();
m_ui->lvNameLineEdit->hide();
}