beremiz

Bug with raw code edit fixed

2007-10-25, lbessard
b46237718b27
Parents e55d6faee9d1
Children 862da764c5b5
Bug with raw code edit fixed
  • +7 -1
    plugger.py
  • --- a/plugger.py Thu Oct 25 16:46:56 2007 +0200
    +++ b/plugger.py Thu Oct 25 16:59:17 2007 +0200
    @@ -896,7 +896,7 @@
    return True
    - # Link object files into something that can be executed on target
    + # Link object files into something that can be executed on target
    def _showIECcode(self, logger):
    plc_file = self._getIECcodepath()
    @@ -914,6 +914,12 @@
    def _editIECrawcode(self, logger):
    new_dialog = wx.Frame(None)
    +
    + buildpath = self._getBuildPath()
    + # Eventually create build dir
    + if not os.path.exists(buildpath):
    + os.mkdir(buildpath)
    +
    controler = MiniTextControler(self._getIECrawcodepath())
    ST_viewer = TextViewer(new_dialog, None, controler)
    #ST_viewer.Enable(False)