mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 01:45:36 -04:00
Revert PCM before applying Alongside operation.
This commit is contained in:
parent
9d4a636a16
commit
f1a29033a2
1 changed files with 7 additions and 0 deletions
|
@ -554,6 +554,13 @@ ChoicePage::doAlongsideApply()
|
||||||
Q_ASSERT( m_afterPartitionSplitterWidget->splitPartitionSize() >= 0 );
|
Q_ASSERT( m_afterPartitionSplitterWidget->splitPartitionSize() >= 0 );
|
||||||
Q_ASSERT( m_afterPartitionSplitterWidget->newPartitionSize() >= 0 );
|
Q_ASSERT( m_afterPartitionSplitterWidget->newPartitionSize() >= 0 );
|
||||||
|
|
||||||
|
QMutexLocker locker( &m_coreMutex );
|
||||||
|
|
||||||
|
if ( m_core->isDirty() )
|
||||||
|
{
|
||||||
|
m_core->revertDevice( selectedDevice() );
|
||||||
|
}
|
||||||
|
|
||||||
QString path = m_beforePartitionBarsView->
|
QString path = m_beforePartitionBarsView->
|
||||||
selectionModel()->
|
selectionModel()->
|
||||||
currentIndex().data( PartitionModel::PartitionPathRole ).toString();
|
currentIndex().data( PartitionModel::PartitionPathRole ).toString();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue