Skip to content

Commit

Permalink
Allow gui to update before showing the message box
Browse files Browse the repository at this point in the history
  • Loading branch information
mitxela committed Feb 26, 2023
1 parent 6024770 commit 46de68d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions round_tracks_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def run( self, event ):

if bool(self.prog):
self.prog.Destroy()
wx.Yield()
dt = time.time()-start
if dt>0.1:
wx.MessageBox("Done, took {:.3f} seconds".format(time.time()-start), parent=self)
Expand Down

0 comments on commit 46de68d

Please sign in to comment.