mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04:00
Remove current partition's mountpoint from used list.
This means that when we edit a partition, we don't consider its current mountpoint invalid because it is already in-use. We need to do this for both "edit existing partition" and "edit a partition that we are still creating".
This commit is contained in:
parent
349470ae71
commit
2759529841
2 changed files with 8 additions and 4 deletions
|
@ -62,8 +62,6 @@ EditExistingPartitionDialog::EditExistingPartitionDialog( Device* device, Partit
|
|||
mountPoints.sort();
|
||||
m_ui->mountPointComboBox->addItems( mountPoints );
|
||||
|
||||
m_usedMountPoints.removeOne( PartitionInfo::mountPoint( partition ) );
|
||||
|
||||
QColor color = ColorUtils::colorForPartition( m_partition );
|
||||
m_partitionSizeController->init( m_device, m_partition, color );
|
||||
m_partitionSizeController->setSpinBox( m_ui->sizeSpinBox );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue