diff --git a/Content.Client/Fax/UI/FaxBoundUi.cs b/Content.Client/Fax/UI/FaxBoundUi.cs index ab6f170639..ef6661b3ef 100644 --- a/Content.Client/Fax/UI/FaxBoundUi.cs +++ b/Content.Client/Fax/UI/FaxBoundUi.cs @@ -22,6 +22,7 @@ public sealed class FaxBoundUi : BoundUserInterface _window.OpenCentered(); _window.OnClose += Close; + _window.CopyButtonPressed += OnCopyButtonPressed; _window.SendButtonPressed += OnSendButtonPressed; _window.RefreshButtonPressed += OnRefreshButtonPressed; _window.PeerSelected += OnPeerSelected; @@ -32,6 +33,11 @@ public sealed class FaxBoundUi : BoundUserInterface SendMessage(new FaxSendMessage()); } + private void OnCopyButtonPressed() + { + SendMessage(new FaxCopyMessage()); + } + private void OnRefreshButtonPressed() { SendMessage(new FaxRefreshMessage()); diff --git a/Content.Client/Fax/UI/FaxWindow.xaml b/Content.Client/Fax/UI/FaxWindow.xaml index 7b68316b11..1e6ef23376 100644 --- a/Content.Client/Fax/UI/FaxWindow.xaml +++ b/Content.Client/Fax/UI/FaxWindow.xaml @@ -20,6 +20,10 @@ +