Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable call button while function is running #139

Merged
merged 1 commit into from
Jan 31, 2021

Conversation

tlambert03
Copy link
Member

This is a partial solution to #128. (more of a "coverup" really)
This will disable the run button while the function is running, making it harder for someone to trigger an emitter loop and runtime error. A deeper problem still exists, for instance, if someone were to change the progress_nested to auto_run=True (instead of call_button=True), then we'd have a problem, because the example itself updates one of the widgets', which would try to re-trigger a function call, causing an error. I tried to block that too, but attempts have failed so far

@tlambert03 tlambert03 merged commit a304279 into pyapp-kit:master Jan 31, 2021
@tlambert03 tlambert03 deleted the fix-runtime-event-error branch January 31, 2021 16:52
@tlambert03 tlambert03 added the bug Something isn't working label Apr 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant