equal
deleted
inserted
replaced
450 |
450 |
451 # Create a new Viewer |
451 # Create a new Viewer |
452 def __init__(self, parent, tagname, window, controler, debug = False, instancepath = ""): |
452 def __init__(self, parent, tagname, window, controler, debug = False, instancepath = ""): |
453 self.VARIABLE_PANEL_TYPE = controler.GetPouType(tagname.split("::")[1]) |
453 self.VARIABLE_PANEL_TYPE = controler.GetPouType(tagname.split("::")[1]) |
454 |
454 |
455 EditorPanel.__init__(self, parent, tagname, window, controler) |
455 EditorPanel.__init__(self, parent, tagname, window, controler, debug) |
456 DebugViewer.__init__(self, controler, debug) |
456 DebugViewer.__init__(self, controler, debug) |
457 |
457 |
458 self._init_menus() |
458 self._init_menus() |
459 |
459 |
460 # Adding a rubberband to Viewer |
460 # Adding a rubberband to Viewer |