diff --git a/mRemoteNG/Connection/AbstractConnectionRecord.cs b/mRemoteNG/Connection/AbstractConnectionRecord.cs index ae33e6a81..824269384 100644 --- a/mRemoteNG/Connection/AbstractConnectionRecord.cs +++ b/mRemoteNG/Connection/AbstractConnectionRecord.cs @@ -733,7 +733,8 @@ namespace mRemoteNG.Connection [LocalizedAttributes.LocalizedCategory(nameof(Language.Miscellaneous), 7), LocalizedAttributes.LocalizedDisplayName(nameof(Language.StartProgram)), - LocalizedAttributes.LocalizedDescription(nameof(Language.PropertyDescriptionStartProgram))] + LocalizedAttributes.LocalizedDescription(nameof(Language.PropertyDescriptionStartProgram)), + AttributeUsedInProtocol(ProtocolType.RDP)] public virtual string StartProgram { get => GetPropertyValue("StartProgram", _startProgram); diff --git a/mRemoteNGTests/UI/Window/ConfigWindowTests/ConfigWindowGeneralTests.cs b/mRemoteNGTests/UI/Window/ConfigWindowTests/ConfigWindowGeneralTests.cs index cf7a00997..b461b8237 100644 --- a/mRemoteNGTests/UI/Window/ConfigWindowTests/ConfigWindowGeneralTests.cs +++ b/mRemoteNGTests/UI/Window/ConfigWindowTests/ConfigWindowGeneralTests.cs @@ -294,7 +294,8 @@ namespace mRemoteNGTests.UI.Window.ConfigWindowTests nameof(ConnectionInfo.RedirectSmartCards), nameof(ConnectionInfo.RedirectSound), nameof(ConnectionInfo.RedirectAudioCapture), - nameof(ConnectionInfo.RdpVersion) + nameof(ConnectionInfo.RdpVersion), + nameof(ConnectionInfo.StartProgram) }); break; case ProtocolType.VNC: