mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 18:05:36 -04:00
Better order, probably.
This commit is contained in:
parent
7dd669d997
commit
7e43c66661
1 changed files with 3 additions and 3 deletions
|
@ -433,13 +433,13 @@ ChoicePage::applyActionChoice( ChoicePage::Choice choice )
|
||||||
case Replace:
|
case Replace:
|
||||||
if ( m_core->isDirty() )
|
if ( m_core->isDirty() )
|
||||||
{
|
{
|
||||||
|
m_beforePartitionBarsView->selectionModel()->clearSelection();
|
||||||
|
m_beforePartitionBarsView->selectionModel()->clearCurrentIndex();
|
||||||
|
|
||||||
ScanningDialog::run( QtConcurrent::run( [ = ]
|
ScanningDialog::run( QtConcurrent::run( [ = ]
|
||||||
{
|
{
|
||||||
QMutexLocker locker( &m_coreMutex );
|
QMutexLocker locker( &m_coreMutex );
|
||||||
m_core->revertDevice( selectedDevice() );
|
m_core->revertDevice( selectedDevice() );
|
||||||
|
|
||||||
m_beforePartitionBarsView->selectionModel()->clearSelection();
|
|
||||||
m_beforePartitionBarsView->selectionModel()->clearCurrentIndex();
|
|
||||||
} ),
|
} ),
|
||||||
this );
|
this );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue