Skip to content
Advertisement

Why is the button “Add” only working once?

I want to be able to use the button “Add” multiple times but at the moment it only works once. I only have pysimplegui imported. Heres part of the code because looks like i have a limit of characters or something. Hope I don’t have to wait 3 days again…

JavaScript

Advertisement

Answer

Your add_window closed after first-time event -ADD-, so it doesn’t work after it.

Add one new popup to get new name and return input value to main window.

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement