So, my code is this:
d += 1
This makes the label show number 2. As far as I can tell, this should be 1 as ev.pressed triggers only once, when there's a "pressed" event happening. Looks like it triggers twice for some reason. Am I mistaken?
EDIT: Now I'm really confused. If I rewrite the code line with ev.pressed like 3 or 4 times, it triggers once, if I do that again, it triggers twice. No code is modified, I just erase the code and rewrite it the same way.