Hide bootloader chooser on EFI.
This commit is contained in:
parent
be9ec27350
commit
49eea234ed
@ -91,8 +91,8 @@ PartitionPage::PartitionPage( PartitionCoreModule* core, QWidget* parent )
|
||||
connect( m_ui->deleteButton, &QAbstractButton::clicked, this, &PartitionPage::onDeleteClicked );
|
||||
|
||||
if ( QDir( "/sys/firmware/efi/efivars" ).exists() ) {
|
||||
m_ui->bootLoaderComboBox->setDisabled( true );
|
||||
m_ui->label_3->setDisabled( true );
|
||||
m_ui->bootLoaderComboBox->hide();
|
||||
m_ui->label_3->hide();
|
||||
}
|
||||
|
||||
CALAMARES_RETRANSLATE( m_ui->retranslateUi( this ); )
|
||||
|
@ -164,7 +164,7 @@
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
<height>1</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
|
Loading…
Reference in New Issue
Block a user