[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.
main
Adriaan de Groot 4 years ago
parent 5af37b0be3
commit 294d07db7b

@ -152,6 +152,7 @@ Config::setConfigurationMap( const QVariantMap& configurationMap )
if ( m_queue && m_queue->count() > 0 )
{
cDebug() << "Loading netinstall from" << m_queue->count() << "alternate sources.";
setStatus( required() ? Status::FailedNoData : Status::Ok );
connect( m_queue, &LoaderQueue::done, this, &Config::loadingDone );
m_queue->load();
}

Loading…
Cancel
Save