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;