From: Winkarst <74284083+Winkarst-cpu@users.noreply.github.com> Date: Sat, 23 Nov 2024 06:41:28 +0000 (+0300) Subject: Disable submit admin note button on switch to note (#33456) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=0a587c9ccc4ae70e21f71ea74b509911aa03041c;p=space-station-14.git Disable submit admin note button on switch to note (#33456) Co-authored-by: Winkarst <74284083+Winkarst-cpu@users.noreply.github.co> --- diff --git a/Content.Client/Administration/UI/Notes/NoteEdit.xaml.cs b/Content.Client/Administration/UI/Notes/NoteEdit.xaml.cs index a412e47396..c8e3afeb22 100644 --- a/Content.Client/Administration/UI/Notes/NoteEdit.xaml.cs +++ b/Content.Client/Administration/UI/Notes/NoteEdit.xaml.cs @@ -159,6 +159,7 @@ public sealed partial class NoteEdit : FancyWindow SecretCheckBox.Pressed = false; SeverityOption.Disabled = false; PermanentCheckBox.Pressed = true; + SubmitButton.Disabled = true; UpdatePermanentCheckboxFields(); break; case (int) NoteType.Message: // Message: these are shown to the player when they log on