mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04:00
Add status info to Summary page. Still needs work to make it nice.
Also added onActivate/onLeave to ViewStep and ViewManager.
This commit is contained in:
parent
49b91608e3
commit
c339ac8cfc
7 changed files with 84 additions and 1 deletions
|
@ -148,6 +148,8 @@ ViewManager::next()
|
|||
{
|
||||
m_currentStep++;
|
||||
m_stack->setCurrentIndex( m_currentStep );
|
||||
step->onLeave();
|
||||
m_steps.at( m_currentStep )->onActivate();
|
||||
installing = m_steps.at( m_currentStep ) == m_installationViewStep;
|
||||
emit currentStepChanged();
|
||||
}
|
||||
|
@ -169,6 +171,8 @@ ViewManager::back()
|
|||
{
|
||||
m_currentStep--;
|
||||
m_stack->setCurrentIndex( m_currentStep );
|
||||
step->onLeave();
|
||||
m_steps.at( m_currentStep )->onActivate();
|
||||
emit currentStepChanged();
|
||||
}
|
||||
else if ( !step->isAtBeginning() )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue