Skip to content
Snippets Groups Projects
Commit f432c25c authored by Paul McCarthy's avatar Paul McCarthy
Browse files

No longer using wx.WindowDisabler in Processing Dialog, because it

screws with font colours on OSX (due to a bug in wx).
parent 9d41c4e3
No related branches found
No related tags found
No related merge requests found
......@@ -297,15 +297,12 @@ class ProcessingDialog(SimpleMessageDialog):
self.Update()
wx.Yield()
disable = wx.WindowDisabler(self)
if mainThread:
try:
result = self.task(*self.args, **self.kwargs)
except:
self.Close()
self.Destroy()
del disable
raise
else:
returnVal = [None]
......@@ -324,8 +321,6 @@ class ProcessingDialog(SimpleMessageDialog):
self.Close()
self.Destroy()
del disable
return result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment