From 5386aaa04413eace731e5fccb770ec7de003e5d1 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 20 Apr 2013 16:50:42 -0400 Subject: [PATCH] fixed new item notifier --- MediaBrowser.ServerApplication/EntryPoints/NewItemNotifier.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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().First(); window.Dispatcher.InvokeAsync(() => window.MbTaskbarIcon.ShowCustomBalloon(new ItemUpdateNotification(_logger) {