Merge pull request #2414 from phoepsilonix/patch

If you selected "Manual Partitioning", Scan for partition information.
This commit is contained in:
Adriaan de Groot 2024-12-22 21:58:49 +01:00 committed by GitHub
commit 191f7112f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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();