git-svn-id: https://svn.osgeo.org/grass/grass/trunk@51089 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -1058,7 +1058,7 @@ class GMStc(wx.stc.StyledTextCtrl):
"""!Copy selected text to clipboard and skip event.
The same function is in TextCtrlAutoComplete class (prompt.py).
"""
- self.Copy()
+ wx.CallAfter(self.Copy)
event.Skip()
def SetStyle(self):
@@ -728,7 +728,7 @@ class GPromptSTC(GPrompt, wx.stc.StyledTextCtrl):
The same function is in GMStc class (goutput.py).
def OnItemChanged(self, event):