From cece01e3c5848e487bf1e448f669ea5afa27d2be Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 25 Feb 2019 07:59:58 -0500 Subject: [PATCH] [partition] Simplify next() --- src/modules/partition/gui/PartitionViewStep.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/modules/partition/gui/PartitionViewStep.cpp b/src/modules/partition/gui/PartitionViewStep.cpp index 34d9c4a81..bee5ad965 100644 --- a/src/modules/partition/gui/PartitionViewStep.cpp +++ b/src/modules/partition/gui/PartitionViewStep.cpp @@ -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; } }