diff --git a/src/core/Settings.vala b/src/core/Settings.vala index 6065598..efc56ce 100644 --- a/src/core/Settings.vala +++ b/src/core/Settings.vala @@ -40,8 +40,8 @@ namespace LAview.Core { public string[] templates { get { return _templates_strv; } set { - if (settings != null) settings.set_strv("templates", _templates_strv); _templates_strv = value; + if (settings != null) settings.set_strv("templates", _templates_strv); } }