diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index 1f9959f97..68a75c2df 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -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() ); + } + } } }