mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-25 03:15:44 -05:00
[netinstall] When starting to load YAML data, set appropriate status
- if a list is required, then we don't have data yet and should complain; otherwise we're OK even if no data is ever added.
This commit is contained in:
parent
5af37b0be3
commit
294d07db7b
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ Config::setConfigurationMap( const QVariantMap& configurationMap )
|
||||||
if ( m_queue && m_queue->count() > 0 )
|
if ( m_queue && m_queue->count() > 0 )
|
||||||
{
|
{
|
||||||
cDebug() << "Loading netinstall from" << m_queue->count() << "alternate sources.";
|
cDebug() << "Loading netinstall from" << m_queue->count() << "alternate sources.";
|
||||||
|
setStatus( required() ? Status::FailedNoData : Status::Ok );
|
||||||
connect( m_queue, &LoaderQueue::done, this, &Config::loadingDone );
|
connect( m_queue, &LoaderQueue::done, this, &Config::loadingDone );
|
||||||
m_queue->load();
|
m_queue->load();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue