From 7e3b0f7aedb195936c63afc97cef649c395aba76 Mon Sep 17 00:00:00 2001 From: vardars Date: Sun, 30 Aug 2020 19:30:14 +0300 Subject: [PATCH] feature/alternate_shell - StartProgram marked as AttributeUsedInProtocol(ProtocolType.RDP) --- mRemoteNG/Connection/AbstractConnectionRecord.cs | 3 ++- .../UI/Window/ConfigWindowTests/ConfigWindowGeneralTests.cs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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: