mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 08:58:22 -04:00
Fixed m_isEfi falsely false in ReplacePage.
This commit is contained in:
parent
d54f314394
commit
a2c5bcd0ee
1 changed files with 3 additions and 3 deletions
|
@ -49,9 +49,6 @@ ReplacePage::ReplacePage( PartitionCoreModule* core, QWidget* parent )
|
||||||
m_ui->deviceComboBox->setModel( m_core->deviceModel() );
|
m_ui->deviceComboBox->setModel( m_core->deviceModel() );
|
||||||
m_ui->partitionPreview->setLabelsVisible( true );
|
m_ui->partitionPreview->setLabelsVisible( true );
|
||||||
|
|
||||||
if ( Calamares::JobQueue::instance()->globalStorage()->value( "firmwareType" ) == "efi" )
|
|
||||||
m_isEfi = true;
|
|
||||||
|
|
||||||
loadEfiSystemPartitions();
|
loadEfiSystemPartitions();
|
||||||
|
|
||||||
// updateButtons();
|
// updateButtons();
|
||||||
|
@ -145,6 +142,9 @@ ReplacePage::applyChanges()
|
||||||
void
|
void
|
||||||
ReplacePage::onPartitionSelected()
|
ReplacePage::onPartitionSelected()
|
||||||
{
|
{
|
||||||
|
if ( Calamares::JobQueue::instance()->globalStorage()->value( "firmwareType" ) == "efi" )
|
||||||
|
m_isEfi = true;
|
||||||
|
|
||||||
cDebug() << "Partition selected in Replace page.";
|
cDebug() << "Partition selected in Replace page.";
|
||||||
if ( m_ui->partitionTreeView->currentIndex() == QModelIndex() )
|
if ( m_ui->partitionTreeView->currentIndex() == QModelIndex() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue