diff --git a/DesktopUI2/DesktopUI2/Views/Windows/Dialogs/DialogUserControl.cs b/DesktopUI2/DesktopUI2/Views/Windows/Dialogs/DialogUserControl.cs index 1cef30a623..0cd89a962a 100644 --- a/DesktopUI2/DesktopUI2/Views/Windows/Dialogs/DialogUserControl.cs +++ b/DesktopUI2/DesktopUI2/Views/Windows/Dialogs/DialogUserControl.cs @@ -40,8 +40,8 @@ public Task ShowDialog() public void Close(object dialogResult) { _dialogResult = dialogResult; - Closed?.Invoke(this, null); MainViewModel.Instance.DialogBody = null; + Closed?.Invoke(this, null); } } }