Fix the last page fix.
This commit is contained in:
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…
Reference in New Issue
Block a user