Replies: 2 comments 2 replies
-
I guess you‘re facing a late binding problem. https://docs.python-guide.org/writing/gotchas/#late-binding-closures |
Beta Was this translation helpful? Give feedback.
1 reply
-
Solved! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I have a problem when I load elements into a grid through a loop, which is an icon and in its event I need it to print the path that would correspond to it.
The issue is that it always prints the one for the last element of the array.
The second element is always printed although each icon corresponds to its image.

Beta Was this translation helpful? Give feedback.
All reactions