[partition] Simplify next()

This commit is contained in:
Adriaan de Groot 2019-02-25 07:59:58 -05:00
parent 6071489788
commit cece01e3c5

View File

@ -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;
}
}