Merge pull request #2322 from calamares/fixalongsidecrash
[partition] Don't crash when going back without selecting a partition
This commit is contained in:
commit
1ead64bd5b
@ -679,7 +679,11 @@ ChoicePage::onLeave()
|
||||
{
|
||||
if ( m_config->installChoice() == InstallChoice::Alongside )
|
||||
{
|
||||
doAlongsideApply();
|
||||
if ( m_afterPartitionSplitterWidget->splitPartitionSize() >= 0
|
||||
&& m_afterPartitionSplitterWidget->newPartitionSize() >= 0 )
|
||||
{
|
||||
doAlongsideApply();
|
||||
}
|
||||
}
|
||||
|
||||
if ( m_isEfi
|
||||
|
Loading…
Reference in New Issue
Block a user