make sure gui function runs in main thread
This commit is contained in:
parent
4f6abd3e66
commit
0bc001dee3
|
@ -552,7 +552,7 @@ class NotificationTimeout(Thread):
|
|||
|
||||
def run_func(self, timeout, bar, label):
|
||||
self.stop_event.wait(timeout)
|
||||
bar.set_reveal_child(False)
|
||||
run_in_gui_thread(bar.set_reveal_child, False)
|
||||
|
||||
|
||||
class AutocompleteTimeout(threading.Thread):
|
||||
|
|
Reference in a new issue