Adding stuff to GlobalStorage works much better it is actually executed.
This commit is contained in:
parent
0738af04ca
commit
472590669f
@ -97,9 +97,6 @@ LocaleViewStep::widget()
|
|||||||
void
|
void
|
||||||
LocaleViewStep::next()
|
LocaleViewStep::next()
|
||||||
{
|
{
|
||||||
Calamares::JobQueue::instance()->globalStorage()->insert( "lcLocale",
|
|
||||||
m_actualWidget->lcLocale() );
|
|
||||||
cDebug() << "GlobalStorage inserted lcLocale:" << m_actualWidget->lcLocale();
|
|
||||||
emit done();
|
emit done();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -144,6 +141,10 @@ LocaleViewStep::onLeave()
|
|||||||
m_jobs.append( m_actualWidget->createJobs() );
|
m_jobs.append( m_actualWidget->createJobs() );
|
||||||
|
|
||||||
m_prettyStatus = m_actualWidget->prettyStatus();
|
m_prettyStatus = m_actualWidget->prettyStatus();
|
||||||
|
|
||||||
|
Calamares::JobQueue::instance()->globalStorage()->insert( "lcLocale",
|
||||||
|
m_actualWidget->lcLocale() );
|
||||||
|
cDebug() << "GlobalStorage inserted lcLocale:" << m_actualWidget->lcLocale();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user