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 );
|
connect( m_ui->deleteButton, &QAbstractButton::clicked, this, &PartitionPage::onDeleteClicked );
|
||||||
|
|
||||||
if ( QDir( "/sys/firmware/efi/efivars" ).exists() ) {
|
if ( QDir( "/sys/firmware/efi/efivars" ).exists() ) {
|
||||||
m_ui->bootLoaderComboBox->setDisabled( true );
|
m_ui->bootLoaderComboBox->hide();
|
||||||
m_ui->label_3->setDisabled( true );
|
m_ui->label_3->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
CALAMARES_RETRANSLATE( m_ui->retranslateUi( this ); )
|
CALAMARES_RETRANSLATE( m_ui->retranslateUi( this ); )
|
||||||
|
@ -164,7 +164,7 @@
|
|||||||
<property name="sizeHint" stdset="0">
|
<property name="sizeHint" stdset="0">
|
||||||
<size>
|
<size>
|
||||||
<width>40</width>
|
<width>40</width>
|
||||||
<height>20</height>
|
<height>1</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
</spacer>
|
</spacer>
|
||||||
|
Loading…
Reference in New Issue
Block a user