Fix the last page fix.

This commit is contained in:
Teo Mrnjavac 2015-11-20 17:52:15 +01:00
parent 51d0d9f9b4
commit 0fa19cca68

View File

@ -251,6 +251,10 @@ ViewManager::next()
connect( Calamares::JobQueue::instance(), &Calamares::JobQueue::finished, connect( Calamares::JobQueue::instance(), &Calamares::JobQueue::finished,
this, [this] this, [this]
{ {
if ( m_currentStep != m_steps.count() -1 &&
m_steps.last()->isAtEnd() )
m_next->setEnabled( false );
else
m_next->setEnabled( true ); m_next->setEnabled( true );
} ); } );
} }