diff -r 3a238c0c5993 -r d3f97b72c02a editors/TextViewer.py --- a/editors/TextViewer.py Fri Apr 22 21:26:31 2016 +0300 +++ b/editors/TextViewer.py Mon Apr 25 17:23:04 2016 +0300 @@ -262,6 +262,7 @@ if dialog.ShowModal() == wx.ID_OK: blockname = dialog.GetValue() else: + event.SetDragText("") return dialog.Destroy() if blockname.upper() in [name.upper() for name in self.Controler.GetProjectPouNames(self.Debug)]: