diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-04-20 16:50:42 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-04-20 16:50:42 -0400 |
| commit | 5386aaa04413eace731e5fccb770ec7de003e5d1 (patch) | |
| tree | 20fc66fdafde3b38a656a60189c930f92a1294db | |
| parent | 9c1e771af5c89142c1e80f5eddce6f1de8e3fa16 (diff) | |
fixed new item notifier
| -rw-r--r-- | MediaBrowser.ServerApplication/EntryPoints/NewItemNotifier.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.ServerApplication/EntryPoints/NewItemNotifier.cs b/MediaBrowser.ServerApplication/EntryPoints/NewItemNotifier.cs index bf4eb6e91..6bc6d5065 100644 --- a/MediaBrowser.ServerApplication/EntryPoints/NewItemNotifier.cs +++ b/MediaBrowser.ServerApplication/EntryPoints/NewItemNotifier.cs @@ -113,7 +113,7 @@ namespace MediaBrowser.ServerApplication.EntryPoints { Application.Current.Dispatcher.InvokeAsync(() => { - var window = (MainWindow)Application.Current.MainWindow; + var window = Application.Current.Windows.OfType<MainWindow>().First(); window.Dispatcher.InvokeAsync(() => window.MbTaskbarIcon.ShowCustomBalloon(new ItemUpdateNotification(_logger) { |
