mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 08:28:22 -04:00
Disable "Next" button if isNextEnabled() of first step returns false
This commit is contained in:
parent
a75b1809d8
commit
5126458040
1 changed files with 3 additions and 0 deletions
|
@ -92,6 +92,9 @@ ViewManager::addViewStep( ViewStep* step )
|
||||||
m_prepareSteps.append( step );
|
m_prepareSteps.append( step );
|
||||||
|
|
||||||
insertViewStep( m_steps.size() - 1, 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…
Add table
Add a link
Reference in a new issue