refactor: update camera control signals and improve live view handling
This commit is contained in:
@@ -112,7 +112,7 @@ class MainController:
|
||||
@Slot()
|
||||
def on_camera_started(self):
|
||||
"""Updates UI when the camera stream starts."""
|
||||
# self.split_view.show_live_view()
|
||||
self.split_view.toggle_live_view()
|
||||
self.welcome_view.set_button_text("Stop Camera")
|
||||
# Re-route button click to stop the camera
|
||||
self.welcome_view.camera_start_btn.clicked.disconnect()
|
||||
|
||||
Reference in New Issue
Block a user