If you selected "Manual Partitioning", Scan for partition information.

This commit is contained in:
Masato TOYOSHIMA 2024-12-14 22:03:46 +09:00
parent 59985eaf4e
commit 3e9eabe9df
No known key found for this signature in database
GPG Key ID: 57B49CC5AA4F00FC

View File

@ -586,8 +586,21 @@ ChoicePage::applyActionChoice( InstallChoice choice )
&ChoicePage::doAlongsideSetupSplitter,
Qt::UniqueConnection );
break;
case InstallChoice::NoChoice:
case InstallChoice::Manual:
if ( m_core->isDirty() )
{
ScanningDialog::run(
QtConcurrent::run(
[ = ]
{
QMutexLocker locker( &m_coreMutex );
m_core->revertDevice( selectedDevice() );
} ),
[] {},
this );
}
break;
case InstallChoice::NoChoice:
break;
}
updateNextEnabled();