Disable "Next" button if isNextEnabled() of first step returns false

main
Aurélien Gâteau 11 years ago
parent a75b1809d8
commit 5126458040

@ -92,6 +92,9 @@ ViewManager::addViewStep( ViewStep* step )
m_prepareSteps.append( step );
insertViewStep( m_steps.size() - 1, step );
// If this is the first inserted view step, update status of "Next" button
if ( m_prepareSteps.count() == 1 )
m_next->setEnabled( step->isNextEnabled() );
}

Loading…
Cancel
Save