[partition] Simplify next()

main
Adriaan de Groot 6 years ago
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…
Cancel
Save