From 24155cf3370f3290e2fd919ad763e8baf87319a0 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 20 Mar 2012 05:53:18 +0900 Subject: [PATCH] work around another win32 crash --- aqt/editor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aqt/editor.py b/aqt/editor.py index 7184a7e28..4215023cb 100644 --- a/aqt/editor.py +++ b/aqt/editor.py @@ -707,6 +707,7 @@ class Editor(object): recent = self.mw.pm.profile['recentColours'] recent.remove(colour) recent.append(colour) + self.mw.app.processEvents() self.web.eval("setFormat('forecolor', '%s')" % colour) self.colourDiag.close() self.colourChanged()