Fix the last page fix.

main
Teo Mrnjavac 10 years ago
parent 51d0d9f9b4
commit 0fa19cca68

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

Loading…
Cancel
Save