Don't forget to perform the autopartition operation when not resetting.

This commit is contained in:
Teo Mrnjavac 2015-12-31 16:12:52 +01:00
parent 73be443e22
commit 08d1c89f21

View File

@ -426,7 +426,6 @@ ChoicePage::applyActionChoice( ChoicePage::Choice choice )
{ {
QMutexLocker locker( &m_coreMutex ); QMutexLocker locker( &m_coreMutex );
m_core->revertDevice( selectedDevice() ); m_core->revertDevice( selectedDevice() );
} ), } ),
[ = ] [ = ]
{ {
@ -434,6 +433,8 @@ ChoicePage::applyActionChoice( ChoicePage::Choice choice )
}, },
this ); this );
} }
else
PartitionActions::doAutopartition( m_core, selectedDevice() );
break; break;
case Replace: case Replace: