Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Correctly synchronize UI and other threads when opening a SX popup. #230
Solves issue #229.
When a script is saved and has incomplete strings, then an empty popup appears which should contain a message and buttons. This happens because the UI related code is not executed inside the UI dispatcher thread and the UI dispatcher thread itself is blocked inside the while loop right after opening the popup. This also means that all popups created from the SX class are flawed.
This PR corrects the synchronization with the UI dispatcher thread. Opening a popup now works from within the UI dispatcher and other threads. It also properly implements focusing the password field.