summaryrefslogtreecommitdiff
path: root/src/ui_widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui_widgets.py')
-rw-r--r--src/ui_widgets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui_widgets.py b/src/ui_widgets.py
index 42fda7c..07b0369 100644
--- a/src/ui_widgets.py
+++ b/src/ui_widgets.py
@@ -91,7 +91,7 @@ class EllipseWidget(QWidget):
# polarizer axes
P.translate(cx, cy)
P.rotate(- (self.pol.angle + self.pol.delta) * 180 / np.pi)
- if self.pol.type == "linear":
+ if self.pol.t2 == 0: # FIXME: half-assed
P.setPen(Pens.axis_linear)
P.drawLine(-20 * r, 0, 20 * r, 0)
else: