From: dffdff2423 Date: Tue, 11 Jun 2024 02:48:23 +0000 (-0500) Subject: Enable save button on changing job unavailable preference (#28839) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=f571e230378e5d5d11bcf61c4f4127b14c43e454;p=space-station-14.git Enable save button on changing job unavailable preference (#28839) Enable save button on changing unavailable pref Fix an issue where the save button was disabled when just changing your job unavailable preference --- diff --git a/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs b/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs index 8ee25d6880..18f986fc7d 100644 --- a/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs +++ b/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs @@ -372,6 +372,7 @@ namespace Content.Client.Lobby.UI { PreferenceUnavailableButton.SelectId(args.Id); Profile = Profile?.WithPreferenceUnavailable((PreferenceUnavailableMode) args.Id); + SetDirty(); }; _jobCategories = new Dictionary();