[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.
This commit is contained in:
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…
Reference in New Issue
Block a user