Save settings when detector settings updated
This commit is contained in:
parent
5296092b6b
commit
cde6d0c9b3
1 changed files with 2 additions and 0 deletions
|
|
@ -529,6 +529,8 @@ class BaseCamera(lt.Thing):
|
||||||
``background_detector_status``.
|
``background_detector_status``.
|
||||||
"""
|
"""
|
||||||
self.active_detector.settings = data
|
self.active_detector.settings = data
|
||||||
|
# Manually save settings as the setter is not called.
|
||||||
|
self.save_settings()
|
||||||
|
|
||||||
@lt.thing_setting
|
@lt.thing_setting
|
||||||
def background_detector_data(self) -> dict:
|
def background_detector_data(self) -> dict:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue