diff --git a/Application/Options/FeedWindow.xaml.cs b/Application/Options/FeedWindow.xaml.cs index 266904c..87d588b 100644 --- a/Application/Options/FeedWindow.xaml.cs +++ b/Application/Options/FeedWindow.xaml.cs @@ -1,4 +1,5 @@ -using Common.Wpf.Extensions; +using System.Data.Entity; +using Common.Wpf.Extensions; using System.Linq; using System.Windows; using System.Windows.Controls; @@ -16,8 +17,10 @@ namespace FeedCenter.Options public bool? Display(FeedCenterEntities database, Feed feed, Window owner) { + database.Categories.Load(); + // Bind the category combo box - categoryComboBox.ItemsSource = database.Categories; + categoryComboBox.ItemsSource = database.Categories.Local; // Set the data context DataContext = feed;