Commit d8577829 authored by Thomas Vincent's avatar Thomas Vincent

fix ROI hidden when changing scan

parent 65e825f1
......@@ -529,16 +529,15 @@ class ShiftAreaSelectorWidget(Qt.QWidget):
:param node:
plot = self.__plotWid.plot()
if not node:
# this shouldnt happen ever
if not node: # this should not happen ever
raise ValueError('node is None')
plotData = node.getFullData()
plot.setPlotData(plotData.x, plotData.y, values=plotData.z)
plotData.x, plotData.y, values=plotData.z)
def showEvent(self, event):
super(ShiftAreaSelectorWidget, self).showEvent(event)
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