From 83496f6e227118f0ecbee965d0eda48277148c84 Mon Sep 17 00:00:00 2001 From: appleb_m Date: Wed, 5 Nov 2025 15:17:59 +0100 Subject: [PATCH] GUI: changed which camera view is visible during mounting --- gui/src/aaregui/main_window.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gui/src/aaregui/main_window.py b/gui/src/aaregui/main_window.py index 3bf6eec7..b86991b1 100644 --- a/gui/src/aaregui/main_window.py +++ b/gui/src/aaregui/main_window.py @@ -410,11 +410,10 @@ class MainWindow(QMainWindow): "About", "Aare Macromolecular Crystallography GUI\nVersion: 1.0\nCopyright: Paul Scherrer Institute 2024-2025", ) - +#TODO tidy up mount and sampel view fucntions @Slot() def mount_view(self): - #WIP set view to beamline combined view - self.video_tab.setCurrentIndex(1) + self.video_tab.setCurrentIndex(3) @Slot() def sample_view(self): @@ -424,7 +423,7 @@ class MainWindow(QMainWindow): def update_daq_status(self, s: DAQStatusModel): if not self.__mounting and s.state == BeamlineStateEnum.RobotSampleExchange: self.__mounting = True - self.video_tab.setCurrentIndex(1) + self.video_tab.setCurrentIndex(3) elif self.__mounting and s.state != BeamlineStateEnum.RobotSampleExchange: self.__mounting = False self.video_tab.setCurrentIndex(0)