diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2019-06-17 17:17:25 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2019-06-17 17:17:25 +0200 |
commit | db132a783c70908e4a9666307f24b34db29b6560 (patch) | |
tree | e65be46d0f0eea60b37b01864acf18a495b78722 /src | |
parent | 40ef8b821f58111c641eda6893e1885a7fd5323e (diff) |
Fix phase retardation not updating in the edit menu
Diffstat (limited to 'src')
-rw-r--r-- | src/ui_table.py | 1 |
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) |