editors/IECCodeViewer.py
author Edouard Tisserant
Thu, 20 Sep 2012 22:30:41 +0200
changeset 835 8145be14a2ae
parent 815 e4f24593a758
child 1057 3837e165b3f9
permissions -rw-r--r--
Fixed runtime GUI freeze when stopping PLC from the menu. Added -x 2 argument to Beremiz_service.py to restrict content of systray icon menu.

from editors.TextViewer import TextViewer

class IECCodeViewer(TextViewer):
    
    def __del__(self):
        TextViewer.__del__(self)
        if getattr(self, "_OnClose"):
            self._OnClose(self)