[finishedq] Always restart if possible
This commit is contained in:
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…
Reference in New Issue
Block a user