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

Task #5049: reference for rotationangle should be possible (same as rev....

Task #5049: reference for rotationangle should be possible (same as rev. 27358, but accidentally committed to branch instead of trunk)
parent d9944d4e
No related branches found
No related tags found
No related merge requests found
......@@ -552,7 +552,9 @@ class PlotWindow(QFrame):
hbox2.addWidget(self.referenceLabel)
hbox2.addWidget(self.referenceSelector)
# 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.sumSelector)
hbox2.addStretch(1)
......@@ -566,8 +568,7 @@ class PlotWindow(QFrame):
layout.addLayout(hbox)
# RotationAngles do not have phase sum
if self.calType!="CommonRotationAngle" and self.calType!="RotationAngle":
layout.addLayout(hbox2)
layout.addLayout(hbox2)
layout.addLayout(hbox3)
layout.addWidget(self.toolbar)
self.setLayout(layout)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment