fix sensitive change of grid_dot_color_unfocused

This commit is contained in:
Philipp Unger
2022-04-09 18:03:32 +02:00
parent 0ef521d39d
commit 5c200d7577
2 changed files with 1 additions and 1 deletions

View File

@@ -836,6 +836,7 @@ const Preferences = class {
});
this._builder.get_object('dot_color_override_switch').connect('state-set', (widget) => {
if (widget.get_active()) this._settings.set_boolean('dot-color-dominant', false);
else if (this._window) this._settings.set_boolean('dot-color-unfocused-different', false);
});
this._settings.bind('dot-color-unfocused-different',

View File

@@ -207,7 +207,6 @@
</object>
</child>
<!-- TODO sensitivity of this group has to be connected to dot_color_override_switch -->
<child>
<object class="AdwPreferencesGroup" id="grid_dot_color_unfocused">