IDEFrame.py
changeset 2167 b8f795bdfe9f
parent 2166 5ce6d08ff2c7
child 2169 baa0c5111457
--- a/IDEFrame.py	Fri May 25 17:23:15 2018 +0300
+++ b/IDEFrame.py	Fri May 25 17:40:29 2018 +0300
@@ -975,7 +975,7 @@
                 wx.TheClipboard.SetData(data)
                 wx.TheClipboard.Flush()
                 wx.TheClipboard.Close()
-        self.RefreshEditMenu()
+        wx.CallAfter(self.RefreshEditMenu)
 
     def GetDrawingMode(self):
         return self.DrawingMode