mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 01:45:36 -04:00
[finished] Actually read the new-style config value
This commit is contained in:
parent
f3c86810a1
commit
44107d6c33
1 changed files with 7 additions and 0 deletions
|
@ -189,6 +189,13 @@ FinishedViewStep::setConfigurationMap( const QVariantMap& configurationMap )
|
||||||
else
|
else
|
||||||
mode = restartNowChecked ? RestartMode::UserChecked : RestartMode::UserUnchecked;
|
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 );
|
m_widget->setRestart( mode );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue