[partition] Simplify next()
This commit is contained in:
parent
6071489788
commit
cece01e3c5
@ -292,20 +292,7 @@ PartitionViewStep::next()
|
||||
if ( m_core->isDirty() )
|
||||
m_manualPartitionPage->onRevertClicked();
|
||||
}
|
||||
else if ( m_choicePage->currentChoice() == ChoicePage::Erase )
|
||||
{
|
||||
return;
|
||||
}
|
||||
else if ( m_choicePage->currentChoice() == ChoicePage::Alongside )
|
||||
{
|
||||
return;
|
||||
}
|
||||
else if ( m_choicePage->currentChoice() == ChoicePage::Replace )
|
||||
{
|
||||
return;
|
||||
}
|
||||
cDebug() << "Choice applied: " << m_choicePage->currentChoice();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user