mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
Always write bootloader path.
This commit is contained in:
parent
79fd88f948
commit
f4732de975
1 changed files with 14 additions and 2 deletions
|
@ -565,8 +565,20 @@ ChoicePage::onLeave()
|
|||
}
|
||||
else // installPath is then passed to the bootloader module for MBR setup
|
||||
{
|
||||
if ( !m_isEfi && m_bootloaderComboBox.isNull() )
|
||||
m_core->setBootLoaderInstallPath( selectedDevice()->deviceNode() );
|
||||
if ( !m_isEfi )
|
||||
{
|
||||
if ( m_bootloaderComboBox.isNull() )
|
||||
{
|
||||
m_core->setBootLoaderInstallPath( selectedDevice()->deviceNode() );
|
||||
}
|
||||
else
|
||||
{
|
||||
QVariant var = m_bootloaderComboBox->currentData( BootLoaderModel::BootLoaderPathRole );
|
||||
if ( !var.isValid() )
|
||||
return;
|
||||
m_core->setBootLoaderInstallPath( var.toString() );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue