/// <summary> /// Fill the object with settings from UI /// </summary> public ListPrefs(Controls.Lists.ListMaker listMaker, bool saveArticleList) { ListSource = listMaker.SourceText; SelectedProvider = listMaker.SelectedProvider; ArticleList = saveArticleList ? listMaker.GetArticleList() : new List<Article>(); }