private void PagesOnStartupList_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e) { if (PagesOnStartupList.Count() > 0) { App.AppSettings.PagesOnStartupList = PagesOnStartupList.Select((p) => p.Path).ToArray(); } else { App.AppSettings.PagesOnStartupList = null; } }
private void PagesOnStartupList_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e) { if (PagesOnStartupList.Count() > 0) { UserSettingsService.PreferencesSettingsService.TabsOnStartupList = PagesOnStartupList.Select((p) => p.Path).ToList(); } else { UserSettingsService.PreferencesSettingsService.TabsOnStartupList = null; } }