Fix the last page fix.
This commit is contained in:
parent
51d0d9f9b4
commit
0fa19cca68
@ -251,7 +251,11 @@ ViewManager::next()
|
||||
connect( Calamares::JobQueue::instance(), &Calamares::JobQueue::finished,
|
||||
this, [this]
|
||||
{
|
||||
m_next->setEnabled( true );
|
||||
if ( m_currentStep != m_steps.count() -1 &&
|
||||
m_steps.last()->isAtEnd() )
|
||||
m_next->setEnabled( false );
|
||||
else
|
||||
m_next->setEnabled( true );
|
||||
} );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user