[users] Hack - create the widget anyway

- since the configuration is in the UI parts, we need the widget still
  to load the whole configuration (until the config object is complete).
  Create the widget before doing configuration; this is wrong. But now
  we don't hit nullptr derefs all over.
main
Adriaan de Groot 5 years ago
parent 8a14cc7ffc
commit 630a508049

@ -161,6 +161,8 @@ UsersViewStep::onLeave()
void
UsersViewStep::setConfigurationMap( const QVariantMap& configurationMap )
{
// Create the widget, after all .. as long as writing configuration to the UI is needed
(void)this->widget();
using CalamaresUtils::getBool;
if ( configurationMap.contains( "defaultGroups" )

Loading…
Cancel
Save