GUI: hide-reference toosl if not staff =- probably should hdie the panel

This commit is contained in:
2025-11-25 18:02:02 +01:00
parent fca29699a6
commit 79c974d447
+2 -1
View File
@@ -212,7 +212,8 @@ class MainWindow(QMainWindow):
self.daq = DAQWorker(base_url=self.__base_url, token=self.__token)
self.daq.spreadsheet.connect(self.tell_samples.new_sample_list)
self.daq.reference_tools.connect(self.ref_tools_panel.new_list)
if self.__decoded_token.staff:
self.daq.reference_tools.connect(self.ref_tools_panel.new_list)
self.beamline.samcam.changed.connect(self.daq.samcam_settings)
self.beamline.loopctr.background.clicked.connect(self.daq.alc_background)