[finishedq] Always restart if possible

main
Adriaan de Groot 4 years ago
parent 075a28a06d
commit f94853eb28

@ -91,4 +91,16 @@ Page {
}
}
function onActivate()
{
// This QML page has a **button** for restarting,
// so just pretend the setting is clicked; this is a
// poor solution, recommended is to set restartNowMode to Always
// in the config.
config.setRestartNowWanted(true);
}
function onLeave()
{
}
}

Loading…
Cancel
Save