editors/IECCodeViewer.py
branchpython3
changeset 3765 88fe6fc9fd38
parent 3750 f62625418bff
--- a/editors/IECCodeViewer.py	Fri Oct 28 18:59:04 2022 +0800
+++ b/editors/IECCodeViewer.py	Fri Oct 28 19:39:17 2022 +0800
@@ -30,11 +30,6 @@
 
 class IECCodeViewer(TextViewer):
 
-    def __del__(self):
-        TextViewer.__del__(self)
-        if getattr(self, "_OnClose"):
-            self._OnClose(self)
-
     def Paste(self):
         if self.Controler is not None:
             TextViewer.Paste(self)