Skip to content

Commit 3676ba1

Browse files
committed
Update camera_config_dialog.py
1 parent f5bfea0 commit 3676ba1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dlclivegui/gui/camera_config/camera_config_dialog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ def _on_active_camera_selected(self, row: int) -> None:
689689
return
690690

691691
# Stop any running preview when selection changes
692-
if self.is_preview_live():
692+
if self._is_preview_live():
693693
self._stop_preview()
694694

695695
self._current_edit_index = row
@@ -1048,7 +1048,7 @@ def _reset_selected_camera(self, *, clear_backend_cache: bool = False) -> None:
10481048
return
10491049

10501050
# Stop preview to avoid fighting an open capture
1051-
if self.is_preview_live():
1051+
if self._is_preview_live():
10521052
self._stop_preview()
10531053

10541054
cam = self._working_settings.cameras[row]

0 commit comments

Comments
 (0)