Better order, probably.

main
Teo Mrnjavac 9 years ago
parent 7dd669d997
commit 7e43c66661

@ -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 );
}

Loading…
Cancel
Save