No point in trying to reset and replace if nothing is selected.
This commit is contained in:
parent
7e43c66661
commit
f01d802d40
@ -460,6 +460,9 @@ void
|
||||
ChoicePage::doReplaceSelectedPartition( const QModelIndex& current,
|
||||
const QModelIndex& previous )
|
||||
{
|
||||
if ( !current.isValid() )
|
||||
return;
|
||||
|
||||
ScanningDialog::run( QtConcurrent::run( [ = ]
|
||||
{
|
||||
QMutexLocker locker( &m_coreMutex );
|
||||
|
Loading…
Reference in New Issue
Block a user