fix(preferences(js)): initialize Forward defaults

Make sure 'Forward' is defined prior to visit the Preferences module.
This commit is contained in:
Francis Lachapelle
2020-06-27 11:31:08 -04:00
parent 11bbdee143
commit f60a30c520

View File

@@ -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];