mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-25 03:15:44 -05:00
Enable Restart Now checkBox if required.
This commit is contained in:
parent
6f222686b1
commit
33ab4ee663
1 changed files with 1 additions and 2 deletions
|
@ -113,10 +113,9 @@ FinishedViewStep::setConfigurationMap( const QVariantMap& configurationMap )
|
|||
{
|
||||
bool restartNowEnabled = configurationMap.value( "restartNowEnabled" ).toBool();
|
||||
|
||||
m_widget->setRestartNowEnabled( restartNowEnabled );
|
||||
if ( restartNowEnabled )
|
||||
{
|
||||
m_widget->setRestartNowEnabled( restartNowEnabled );
|
||||
|
||||
if ( configurationMap.contains( "restartNowChecked" ) &&
|
||||
configurationMap.value( "restartNowChecked" ).type() == QVariant::Bool &&
|
||||
configurationMap.contains( "restartNowCommand" ) &&
|
||||
|
|
Loading…
Add table
Reference in a new issue