Ensure EUIs close themselves (#15860)
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Content.Client.Administration.UI.ManageSolutions
|
||||
public EditSolutionsEui()
|
||||
{
|
||||
_window = new EditSolutionsWindow();
|
||||
_window.OnClose += () => SendMessage(new EditSolutionsEuiMsg.Close());
|
||||
_window.OnClose += () => SendMessage(new CloseEuiMessage());
|
||||
}
|
||||
|
||||
public override void Opened()
|
||||
@@ -28,7 +28,6 @@ namespace Content.Client.Administration.UI.ManageSolutions
|
||||
public override void Closed()
|
||||
{
|
||||
base.Closed();
|
||||
_window.OnClose -= () => SendMessage(new EditSolutionsEuiMsg.Close());
|
||||
_window.Close();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user