Disable next on last page.
This commit is contained in:
parent
22470ba4af
commit
51d0d9f9b4
@ -265,7 +265,10 @@ ViewManager::next()
|
|||||||
|
|
||||||
if ( m_currentStep == m_steps.count() -1 &&
|
if ( m_currentStep == m_steps.count() -1 &&
|
||||||
m_steps.last()->isAtEnd() )
|
m_steps.last()->isAtEnd() )
|
||||||
|
{
|
||||||
|
m_next->setEnabled( false );
|
||||||
m_quit->setText( tr( "&Quit" ) );
|
m_quit->setText( tr( "&Quit" ) );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user