summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui_table.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui_table.py b/src/ui_table.py
index bd02a90..52d4653 100644
--- a/src/ui_table.py
+++ b/src/ui_table.py
@@ -49,6 +49,7 @@ class ElementEditorWindow(QMainWindow):
root.addWidget(MeinGroßLabel("Phase retardation"))
self.phase_retardation = AngleSlider()
+ self.phase_retardation.setValue(self.pol.phase_retardation * 180 / np.pi)
self.phase_retardation.on_change = self.change_optics
root.addLayout(self.phase_retardation)