mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
ratbagd.py: fix changes to IsActive potentially not being notified about
This commit is contained in:
@@ -551,7 +551,8 @@ class RatbagdResolution(_RatbagdDBus):
|
||||
if active != self._active:
|
||||
self._active = active
|
||||
self.notify("is-active")
|
||||
elif "IsDefault" in changed_props.keys():
|
||||
|
||||
if "IsDefault" in changed_props.keys():
|
||||
default = changed_props["IsDefault"]
|
||||
if default != self._default:
|
||||
self._default = default
|
||||
|
||||
Reference in New Issue
Block a user