From db132a783c70908e4a9666307f24b34db29b6560 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Mon, 17 Jun 2019 17:17:25 +0200 Subject: Fix phase retardation not updating in the edit menu --- src/ui_table.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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) -- cgit