Better order, probably.

This commit is contained in:
Teo Mrnjavac 2015-12-31 14:45:43 +01:00
parent 7dd669d997
commit 7e43c66661

View File

@ -433,13 +433,13 @@ ChoicePage::applyActionChoice( ChoicePage::Choice choice )
case Replace:
if ( m_core->isDirty() )
{
m_beforePartitionBarsView->selectionModel()->clearSelection();
m_beforePartitionBarsView->selectionModel()->clearCurrentIndex();
ScanningDialog::run( QtConcurrent::run( [ = ]
{
QMutexLocker locker( &m_coreMutex );
m_core->revertDevice( selectedDevice() );
m_beforePartitionBarsView->selectionModel()->clearSelection();
m_beforePartitionBarsView->selectionModel()->clearCurrentIndex();
} ),
this );
}