[finished] Actually read the new-style config value
This commit is contained in:
parent
f3c86810a1
commit
44107d6c33
@ -189,6 +189,13 @@ FinishedViewStep::setConfigurationMap( const QVariantMap& configurationMap )
|
||||
else
|
||||
mode = restartNowChecked ? RestartMode::UserChecked : RestartMode::UserUnchecked;
|
||||
}
|
||||
else
|
||||
{
|
||||
bool ok = false;
|
||||
mode = modeNames().find( restartMode, ok );
|
||||
if ( !ok )
|
||||
cWarning() << "Configuring the finished module with bad restartNowMode" << restartMode;
|
||||
}
|
||||
|
||||
m_widget->setRestart( mode );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user