equal
deleted
inserted
replaced
752 self.ToggleViewerType(panel) |
752 self.ToggleViewerType(panel) |
753 return |
753 return |
754 if idx is None: |
754 if idx is None: |
755 idx = len(self.GraphicPanels) |
755 idx = len(self.GraphicPanels) |
756 item = DebugVariableItem(self, iec_path, True) |
756 item = DebugVariableItem(self, iec_path, True) |
757 result = self.AddDataConsumer(iec_path.upper(), item) |
757 result = self.AddDataConsumer(iec_path.upper(), item, True) |
758 if result is not None or force: |
758 if result is not None or force: |
759 |
759 |
760 self.Freeze() |
760 self.Freeze() |
761 if item.IsNumVariable() and graph: |
761 if item.IsNumVariable() and graph: |
762 panel = DebugVariableGraphicViewer(self.GraphicsWindow, self, [item], GRAPH_PARALLEL) |
762 panel = DebugVariableGraphicViewer(self.GraphicsWindow, self, [item], GRAPH_PARALLEL) |
830 source_panel = panel |
830 source_panel = panel |
831 break |
831 break |
832 if source_item is None: |
832 if source_item is None: |
833 item = DebugVariableItem(self, source, True) |
833 item = DebugVariableItem(self, source, True) |
834 if item.IsNumVariable(): |
834 if item.IsNumVariable(): |
835 result = self.AddDataConsumer(source.upper(), item) |
835 result = self.AddDataConsumer(source.upper(), item, True) |
836 if result is not None or force: |
836 if result is not None or force: |
837 source_item = item |
837 source_item = item |
838 if source_item is not None and source_item.IsNumVariable(): |
838 if source_item is not None and source_item.IsNumVariable(): |
839 if source_panel is not None: |
839 if source_panel is not None: |
840 source_size = source_panel.GetSize() |
840 source_size = source_panel.GetSize() |