Better order, probably.
This commit is contained in:
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…
Reference in New Issue
Block a user