Skip to content

[SOLVED] How to stop updating a control during route change #5038

Answered by Klu1d
cornelius080 asked this question in Q&A
Discussion options

You must be logged in to vote

The problem is that you execute the code, make changes, and then wait for 0.05 seconds. During this time, you switch to the Login state, and only after that do you call self.update(). You need to do the opposite: first call self.update(), then run time.sleep().

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cornelius080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants