editors/TextViewer.py
changeset 1504 d3f97b72c02a
parent 1488 00fb79aba7ac
child 1509 7aaf850d8d1c
--- 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)]: