[finishedq] Always restart if possible

This commit is contained in:
Adriaan de Groot 2021-03-05 23:17:57 +01:00
parent 075a28a06d
commit f94853eb28

View File

@ -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()
{
}
} }