krishna Posted Wednesday at 06:45 AM Share Posted Wednesday at 06:45 AM Hello everyone, I’m new to Qt and facing an issue while writing in PySide2 for Houdini UI.. I’ve written a script in Houdini that creates a window with two buttons: Build and Close. Clicking the Build button opens another window with the same two buttons (Build and Close). The Build button works fine the first time, opening the new window. However, subsequent clicks on the Build button don’t seem to work at all. Additionally, each click on the Build button is counted, and when the Close button is clicked, it prints the total number of clicks. This behavior happens regardless of whether you close the window from the main or subsequent windows. Could someone please explain why the Build button stops functioning after the first click? I’d appreciate any help or guidance! https://github.com/MaheshFXTD/shotbuilder Please note that main.py is for houdini ui and windows_main.py is for running the code in windows python3.1 which works fine. But for some reason it's not working in houdini. Thank you! main.py windows_main.py Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.