Skip to content

Commit

Permalink
hide well selector on Laser-Based Focus tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Alpaca233 committed Feb 26, 2025
1 parent 95dd88a commit f5adfaf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion software/control/gui_hcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,12 @@ def onDisplayTabChanged(self, index):

# Stop focus camera live if not on laser focus tab
if SUPPORT_LASER_AUTOFOCUS:
if self.imageDisplayTabs.tabText(index) != "Laser-Based Focus":
is_laser_focus_tab = self.imageDisplayTabs.tabText(index) == "Laser-Based Focus"

if hasattr(self, 'dock_wellSelection'):
self.dock_wellSelection.setVisible(not is_laser_focus_tab)

if not is_laser_focus_tab:
self.laserAutofocusSettingWidget.stop_live()

def onWellplateChanged(self, format_):
Expand Down

0 comments on commit f5adfaf

Please sign in to comment.