mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -04:00
Set the nested partitions mode in PartitionPage.
This commit is contained in:
parent
7bb76c70ba
commit
d2600bc5dc
1 changed files with 7 additions and 0 deletions
|
@ -33,6 +33,8 @@
|
|||
|
||||
#include "utils/Retranslator.h"
|
||||
#include "Branding.h"
|
||||
#include "JobQueue.h"
|
||||
#include "GlobalStorage.h"
|
||||
|
||||
// KPMcore
|
||||
#include <kpmcore/core/device.h>
|
||||
|
@ -56,6 +58,11 @@ PartitionPage::PartitionPage( PartitionCoreModule* core, QWidget* parent )
|
|||
m_ui->setupUi( this );
|
||||
m_ui->deviceComboBox->setModel( m_core->deviceModel() );
|
||||
m_ui->bootLoaderComboBox->setModel( m_core->bootLoaderModel() );
|
||||
PartitionBarsView::NestedPartitionsMode mode = Calamares::JobQueue::instance()->globalStorage()->
|
||||
value( "drawNestedPartitions" ).toBool() ?
|
||||
PartitionBarsView::DrawNestedPartitions :
|
||||
PartitionBarsView::NoNestedPartitions;
|
||||
m_ui->partitionBarsView->setNestedPartitionsMode( mode );
|
||||
updateButtons();
|
||||
updateBootLoaderInstallPath();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue