first try new approach
This commit is contained in:
@@ -159,9 +159,9 @@ class ChtWindow(Adw.ApplicationWindow):
|
||||
)
|
||||
|
||||
def _on_scene_threshold(self, val):
|
||||
if self._lifecycle.stream_mgr:
|
||||
if self._lifecycle.stream_mgr and not self._lifecycle.stream_mgr.readonly:
|
||||
old = self._lifecycle.stream_mgr.scene_threshold
|
||||
self._lifecycle.stream_mgr.scene_threshold = val
|
||||
self._lifecycle.stream_mgr.update_scene_threshold(val)
|
||||
if self._telemetry:
|
||||
self._telemetry.event("scene_threshold_changed", {"from": old, "to": val})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user