Use BootloaderEntryName from Branding for target root partition id.
This commit is contained in:
parent
0c840abdc5
commit
6af901a675
@ -537,7 +537,7 @@ ChoicePage::updateActionChoicePreview( Device* currentDevice, ChoicePage::Choice
|
|||||||
PartitionBarsView* preview = new PartitionBarsView( m_previewAfterFrame );
|
PartitionBarsView* preview = new PartitionBarsView( m_previewAfterFrame );
|
||||||
PartitionLabelsView* previewLabels = new PartitionLabelsView( m_previewAfterFrame );
|
PartitionLabelsView* previewLabels = new PartitionLabelsView( m_previewAfterFrame );
|
||||||
previewLabels->setCustomNewRootLabel( Calamares::Branding::instance()->
|
previewLabels->setCustomNewRootLabel( Calamares::Branding::instance()->
|
||||||
string( Calamares::Branding::ShortProductName ) );
|
string( Calamares::Branding::BootloaderEntryName ) );
|
||||||
|
|
||||||
PartitionModel* model = new PartitionModel( preview );
|
PartitionModel* model = new PartitionModel( preview );
|
||||||
model->init( currentDevice, m_core->osproberEntries() );
|
model->init( currentDevice, m_core->osproberEntries() );
|
||||||
|
Loading…
Reference in New Issue
Block a user