[packagechooser] Massage API

- use updateGlobalStorage() for both single-selection and
  model-based approaches, although the model-based one
  needs extra parameters.
- complain about inconsistent settings and API calls (e.g.
  setting a model and single-selection at the same time)
This commit is contained in:
Adriaan de Groot 2021-09-03 22:41:13 +02:00
parent 8a49fde016
commit 33e7e8da58
3 changed files with 46 additions and 4 deletions

View file

@ -74,7 +74,7 @@ PackageChooserQmlViewStep::jobs() const
void
PackageChooserQmlViewStep::onLeave()
{
m_config->fillGSSecondaryConfiguration();
m_config->updateGlobalStorage();
}
void