Skip to content

Commit

Permalink
DYN-5656 Preferences Blocking Action Bug (#14837)
Browse files Browse the repository at this point in the history
If we open the PackageManager from Preferences panel and then back to Preferences panel using the link then after closing preferences the background was still present.
So with this fix is removing the background under the described specfic case.
  • Loading branch information
RobertGlobant20 authored Jan 12, 2024
1 parent b8d1c4e commit d511eaf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ private void PackageManagerPanel_MouseDown(object sender, MouseButtonEventArgs e
/// <param name="e"></param>
private void CloseButton_Click(object sender, RoutedEventArgs e)
{
Analytics.TrackEvent(Actions.Close, Categories.PackageManager);
(this.Owner as DynamoView).EnableOverlayBlocker(false);
Analytics.TrackEvent(Actions.Close, Categories.PackageManager);

Close();
}
Expand All @@ -143,6 +142,7 @@ private void WindowClosed(object sender, EventArgs e)
{
this.packageManagerPublish?.Dispose();
this.packageManagerSearch?.Dispose();
(this.Owner as DynamoView).EnableOverlayBlocker(false);

if (PackageManagerViewModel == null) return;
this.PackageManagerViewModel.PackageSearchViewModel.RequestShowFileDialog -= OnRequestShowFileDialog;
Expand Down

0 comments on commit d511eaf

Please sign in to comment.