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 { ...@@ -396,8 +396,14 @@ ActivityBase {
onHelpClicked: { onHelpClicked: {
displayDialog(dialogHelp); displayDialog(dialogHelp);
} }
onPreviousLevelClicked: Activity.previousLevel(); onPreviousLevelClicked: {
onNextLevelClicked: Activity.nextLevel(); if(!items.inputLocked)
Activity.previousLevel();
}
onNextLevelClicked: {
if(!items.inputLocked)
Activity.nextLevel();
}
onHomeClicked: activity.home(); onHomeClicked: activity.home();
onActivityConfigClicked: displayDialog(dialogActivityConfig); 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