We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0945df9 commit eace807Copy full SHA for eace807
tests/unit_tests/test_gui/test_view_progress_dialog.py
@@ -36,7 +36,7 @@ def _test_thread(test_function):
36
app = self.gui.get_wx_app()
37
test_frame = self.TestFrame()
38
test_frame.Show()
39
- ProgressDialog(test_frame, self._TITLE, 10)
+ wx.CallAfter(ProgressDialog, test_frame, self._TITLE, 10)
40
t = self.start_thread(_test_thread, (test_function_to_run,))
41
app.MainLoop()
42
self.wait_for(t.is_alive, False, self._thread_time_out, 0.1)
0 commit comments