mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04:00
Allow setting a custom new root name in Labels view.
This commit is contained in:
parent
e277467ed4
commit
0c840abdc5
3 changed files with 19 additions and 6 deletions
|
@ -536,6 +536,8 @@ ChoicePage::updateActionChoicePreview( Device* currentDevice, ChoicePage::Choice
|
|||
{
|
||||
PartitionBarsView* preview = new PartitionBarsView( m_previewAfterFrame );
|
||||
PartitionLabelsView* previewLabels = new PartitionLabelsView( m_previewAfterFrame );
|
||||
previewLabels->setCustomNewRootLabel( Calamares::Branding::instance()->
|
||||
string( Calamares::Branding::ShortProductName ) );
|
||||
|
||||
PartitionModel* model = new PartitionModel( preview );
|
||||
model->init( currentDevice, m_core->osproberEntries() );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue