]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Disable submit admin note button on switch to note (#33456)
authorWinkarst <74284083+Winkarst-cpu@users.noreply.github.com>
Sat, 23 Nov 2024 06:41:28 +0000 (09:41 +0300)
committerGitHub <noreply@github.com>
Sat, 23 Nov 2024 06:41:28 +0000 (17:41 +1100)
Co-authored-by: Winkarst <74284083+Winkarst-cpu@users.noreply.github.co>
Content.Client/Administration/UI/Notes/NoteEdit.xaml.cs

index a412e47396bfafdde76a89af0e7b8606818a4380..c8e3afeb22c03228577b9a8e26f41d41d4c98d95 100644 (file)
@@ -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