Adding stuff to GlobalStorage works much better it is actually executed.

This commit is contained in:
Teo Mrnjavac 2014-11-26 18:47:46 +01:00
parent 0738af04ca
commit 472590669f

View File

@ -97,9 +97,6 @@ LocaleViewStep::widget()
void
LocaleViewStep::next()
{
Calamares::JobQueue::instance()->globalStorage()->insert( "lcLocale",
m_actualWidget->lcLocale() );
cDebug() << "GlobalStorage inserted lcLocale:" << m_actualWidget->lcLocale();
emit done();
}
@ -144,6 +141,10 @@ LocaleViewStep::onLeave()
m_jobs.append( m_actualWidget->createJobs() );
m_prettyStatus = m_actualWidget->prettyStatus();
Calamares::JobQueue::instance()->globalStorage()->insert( "lcLocale",
m_actualWidget->lcLocale() );
cDebug() << "GlobalStorage inserted lcLocale:" << m_actualWidget->lcLocale();
}