mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-18 17:58:12 +00:00
fix(preferences(js)): initialize Forward defaults
Make sure 'Forward' is defined prior to visit the Preferences module.
This commit is contained in:
1 parent
11bbdee143
commit
f60a30c520
1 file changed
+5
@@ -365,6 +365,11 @@ static SoProduct *preferencesProduct = nil;
|
||||
[defaults setMailLabelsColors: v];
|
||||
}
|
||||
|
||||
if ([domainDefaults forwardEnabled] && ![defaults forwardOptions])
|
||||
{
|
||||
[defaults setForwardOptions: [NSDictionary new]];
|
||||
}
|
||||
|
||||
if ([[defaults source] dirty])
|
||||
[defaults synchronize];
|
||||
|
||||
|
||||
Reference in new issue
Block a user