mirror of
https://github.com/QuasarApp/Snake.git
synced 2025-04-26 17:54:42 +00:00
game start
This commit is contained in:
parent
62313e2537
commit
c3453d63df
@ -100,7 +100,10 @@ Item {
|
||||
height: 8 * metrix.controlPtMaterial;
|
||||
|
||||
onAccepted: {
|
||||
item1.newGame(view.selectedLvl)
|
||||
if (!item1.model)
|
||||
return;
|
||||
|
||||
item1.model.newGame(view.selectedLvl)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user