mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 01:45:36 -04:00
No point in trying to reset and replace if nothing is selected.
This commit is contained in:
parent
7e43c66661
commit
f01d802d40
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue