Update last page status.

This commit is contained in:
Teo Mrnjavac 2015-12-18 17:46:06 +01:00
parent d258837f04
commit 071c02086a

View File

@ -334,7 +334,8 @@ PartitionViewStep::isAtEnd() const
{
if ( m_choicePage == m_widget->currentWidget() )
{
if ( m_choicePage->currentChoice() == ChoicePage::Erase )
if ( m_choicePage->currentChoice() == ChoicePage::Erase ||
m_choicePage->currentChoice() == ChoicePage::Replace )
return true;
return false;
}