work around another win32 crash

This commit is contained in:
Damien Elmes 2012-03-20 05:53:18 +09:00
parent c09ad29161
commit 24155cf337

View file

@ -707,6 +707,7 @@ class Editor(object):
recent = self.mw.pm.profile['recentColours'] recent = self.mw.pm.profile['recentColours']
recent.remove(colour) recent.remove(colour)
recent.append(colour) recent.append(colour)
self.mw.app.processEvents()
self.web.eval("setFormat('forecolor', '%s')" % colour) self.web.eval("setFormat('forecolor', '%s')" % colour)
self.colourDiag.close() self.colourDiag.close()
self.colourChanged() self.colourChanged()