[partition] Fixing LVM LV name line edit visibility.
This commit is contained in:
parent
b5a2a5bbdd
commit
01a972c6ea
@ -72,7 +72,7 @@ CreatePartitionDialog::CreatePartitionDialog( Device* device, PartitionNode* par
|
|||||||
m_ui->encryptWidget->setText( tr( "En&crypt" ) );
|
m_ui->encryptWidget->setText( tr( "En&crypt" ) );
|
||||||
m_ui->encryptWidget->hide();
|
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->lvNameLabel->hide();
|
||||||
m_ui->lvNameLineEdit->hide();
|
m_ui->lvNameLineEdit->hide();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user