configpanel: oopsies, super()._apply() was only called when changing the default app :P

This commit is contained in:
Alexandre Aubin 2022-01-29 19:10:28 +01:00
parent adb0e67b25
commit 0a59f86329

View file

@ -469,7 +469,13 @@ class DomainConfigPanel(ConfigPanel):
other_app=app_map(raw=True)[self.entity]["/"]["id"],
)
super()._apply()
super()._apply()
# Reload ssowat if default app changed
if (
"default_app" in self.future_values
and self.future_values["default_app"] != self.values["default_app"]
):
app_ssowatconf()
def _get_toml(self):