bootloaderInstallPath only applies if !isEfi.

This commit is contained in:
Teo Mrnjavac 2017-01-12 13:27:46 +01:00
parent 7e0d0a4132
commit a59a79a816

View File

@ -1,6 +1,6 @@
/* === This file is part of Calamares - <http://github.com/calamares> ===
*
* Copyright 2014-2016, Teo Mrnjavac <teo@kde.org>
* Copyright 2014-2017, Teo Mrnjavac <teo@kde.org>
*
* Calamares is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -565,7 +565,7 @@ ChoicePage::onLeave()
}
else // installPath is then passed to the bootloader module for MBR setup
{
if ( m_bootloaderComboBox.isNull() )
if ( !m_isEfi && m_bootloaderComboBox.isNull() )
m_core->setBootLoaderInstallPath( selectedDevice()->deviceNode() );
}
}