]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Enable save button on changing job unavailable preference (#28839)
authordffdff2423 <dffdff2423@gmail.com>
Tue, 11 Jun 2024 02:48:23 +0000 (21:48 -0500)
committerGitHub <noreply@github.com>
Tue, 11 Jun 2024 02:48:23 +0000 (12:48 +1000)
Enable save button on changing unavailable pref

Fix an issue where the save button was disabled when just changing your job unavailable preference

Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs

index 8ee25d6880b2143a8968b57b18f801072292de1a..18f986fc7ddfcee61428de40c099c772a1ba9942 100644 (file)
@@ -372,6 +372,7 @@ namespace Content.Client.Lobby.UI
             {
                 PreferenceUnavailableButton.SelectId(args.Id);
                 Profile = Profile?.WithPreferenceUnavailable((PreferenceUnavailableMode) args.Id);
+                SetDirty();
             };
 
             _jobCategories = new Dictionary<string, BoxContainer>();