From b28faaa88fa61653e7f445b3745974bb4faa8add Mon Sep 17 00:00:00 2001 From: Deyan Nenov Date: Tue, 7 Nov 2023 01:02:18 +0000 Subject: [PATCH] close toast notifications fix (#14573) - simple typo fix --- .../Controls/PackageManagerPackagesControl.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DynamoCoreWpf/Views/PackageManager/Controls/PackageManagerPackagesControl.xaml.cs b/src/DynamoCoreWpf/Views/PackageManager/Controls/PackageManagerPackagesControl.xaml.cs index 1b2c905cb63..9dc5f1861e1 100644 --- a/src/DynamoCoreWpf/Views/PackageManager/Controls/PackageManagerPackagesControl.xaml.cs +++ b/src/DynamoCoreWpf/Views/PackageManager/Controls/PackageManagerPackagesControl.xaml.cs @@ -140,7 +140,7 @@ private void DropDownInstallButton_OnClick(object sender, RoutedEventArgs e) private void CloseToastButton_OnClick(object sender, RoutedEventArgs e) { var PkgSearchVM = this.DataContext as PackageManagerSearchViewModel; - if (PkgSearchVM != null) { return; } + if (PkgSearchVM == null) { return; } Button button = sender as Button;