Commit 6df57883 authored by Timothée Giet's avatar Timothée Giet

learn_digits, avoid changing level manually during score and bonus animations

parent 592d9a35
......@@ -396,8 +396,14 @@ ActivityBase {
onHelpClicked: {
displayDialog(dialogHelp);
}
onPreviousLevelClicked: Activity.previousLevel();
onNextLevelClicked: Activity.nextLevel();
onPreviousLevelClicked: {
if(!items.inputLocked)
Activity.previousLevel();
}
onNextLevelClicked: {
if(!items.inputLocked)
Activity.nextLevel();
}
onHomeClicked: activity.home();
onActivityConfigClicked: displayDialog(dialogActivityConfig);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment