Skip to content

Commit

Permalink
Update NotificationCenterController.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
zeusongit committed Feb 7, 2024
1 parent a9c8c69 commit 267ebe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Notifications/NotificationCenterController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ private void DynamoView_SizeChanged(object sender, SizeChangedEventArgs e)
private void DynamoView_PreviewMouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
{
string popupBellID = "FontAwesome5.FontAwesome";
if (!notificationUIPopup.IsOpen) return;
if (notificationUIPopup == null || !notificationUIPopup.IsOpen) return;
if(e.OriginalSource.ToString() != popupBellID)
{
notificationUIPopup.IsOpen = false;
Expand Down

0 comments on commit 267ebe7

Please sign in to comment.