From 9672b3756c09d9a48c24f95e04ca114a9c7c675c Mon Sep 17 00:00:00 2001 From: Deyan Nenov Date: Mon, 6 Nov 2023 19:11:46 +0000 Subject: [PATCH] close toast notifications fix - 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;