From 0c97dba8c1443ee39029136c52bc3861702888e2 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Thu, 22 Aug 2019 11:58:11 +0300 Subject: Added cartridge insertion validation handling. Implemented a better keep alive mechanism. --- .../PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs index 5062df1d6..1c71b080d 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs @@ -388,7 +388,7 @@ namespace Tango.PPC.UI.Notifications throw new NullReferenceException("The view " + viewType.ToString() + " is not of type framework element."); } - return ShowDialog(datacontext, Activator.CreateInstance(viewType) as FrameworkElement); + return ShowDialog(datacontext, view); } /// -- cgit v1.3.1