mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04:00
[partition] Convenience for selecting default mount point
- map blank to the "(no mount point)" string for UI purposes
This commit is contained in:
parent
fda2e54e0f
commit
a4997c4be8
3 changed files with 16 additions and 2 deletions
|
@ -56,13 +56,12 @@ EditExistingPartitionDialog::EditExistingPartitionDialog( Device* device, Partit
|
|||
, m_usedMountPoints( usedMountPoints )
|
||||
{
|
||||
m_ui->setupUi( this );
|
||||
standardMountPoints( *(m_ui->mountPointComboBox) );
|
||||
standardMountPoints( *(m_ui->mountPointComboBox), PartitionInfo::mountPoint( partition ) );
|
||||
|
||||
QColor color = ColorUtils::colorForPartition( m_partition );
|
||||
m_partitionSizeController->init( m_device, m_partition, color );
|
||||
m_partitionSizeController->setSpinBox( m_ui->sizeSpinBox );
|
||||
|
||||
m_ui->mountPointComboBox->setCurrentText( PartitionInfo::mountPoint( partition ) );
|
||||
connect( m_ui->mountPointComboBox, &QComboBox::currentTextChanged,
|
||||
this, &EditExistingPartitionDialog::checkMountPointSelection );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue