Skip to content
Snippets Groups Projects
Commit 03d3d11d authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema
Browse files

Task #5049: RotationAngle can have phase reference

parent fa868ca3
No related branches found
No related tags found
No related merge requests found
...@@ -542,7 +542,9 @@ class PlotWindow(QFrame): ...@@ -542,7 +542,9 @@ class PlotWindow(QFrame):
hbox2.addWidget(self.referenceLabel) hbox2.addWidget(self.referenceLabel)
hbox2.addWidget(self.referenceSelector) hbox2.addWidget(self.referenceSelector)
# For now, phase sum only works when only one parameter is shown # For now, phase sum only works when only one parameter is shown
if len(self.selected_parms)==1: if len(self.selected_parms)==1 and \
(self.calType!="CommonRotationAngle" and
self.calType!="RotationAngle"):
hbox2.addWidget(self.sumLabel) hbox2.addWidget(self.sumLabel)
hbox2.addWidget(self.sumSelector) hbox2.addWidget(self.sumSelector)
hbox2.addStretch(1) hbox2.addStretch(1)
...@@ -556,7 +558,6 @@ class PlotWindow(QFrame): ...@@ -556,7 +558,6 @@ class PlotWindow(QFrame):
layout.addLayout(hbox) layout.addLayout(hbox)
# RotationAngles do not have phase sum # RotationAngles do not have phase sum
if self.calType!="CommonRotationAngle" and self.calType!="RotationAngle":
layout.addLayout(hbox2) layout.addLayout(hbox2)
layout.addLayout(hbox3) layout.addLayout(hbox3)
layout.addWidget(self.toolbar) layout.addWidget(self.toolbar)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment