changeset 1548 | 3ebc08f75fef |
parent 1524 | 70fc5688741e |
child 1551 | 131610a94da0 |
--- a/ProjectController.py Thu Oct 20 14:45:27 2016 +0300 +++ b/ProjectController.py Fri Oct 21 13:06:31 2016 +0300 @@ -1119,6 +1119,7 @@ self._IECCodeView = IECCodeViewer(self.AppFrame.TabsOpened, "", self.AppFrame, None, instancepath=name) self._IECCodeView.SetTextSyntax("ALL") self._IECCodeView.SetKeywords(IEC_KEYWORDS) + self._IECCodeView.Editor.SetReadOnly(True) try: text = file(plc_file).read() except: