GitLab will be upgraded on June 23rd evening. During the upgrade the service will be unavailable, sorry for the inconvenience.

Commit cc29a6a5 authored by Valentin Valls's avatar Valentin Valls

Update child items during the scans

parent 0933e122
......@@ -358,6 +358,14 @@ class CurvePlotWidget(ExtendedDockWidget):
self.__updatePlotItem(item, scan)
elif isinstance(item, plot_model.ChildItem):
if item.isValid():
sources = item.inputData()
for source in sources:
if source is not None:
if event.isUpdatedChannelName(source):
self.__updatePlotItem(item, scan)
def __redrawCurrentScan(self):
currentScan = self.__scan
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment