Skip to content

Commit 92ba6d4

Browse files
committed
Fix: Session info has no default values when connecting via profile
1 parent bed9265 commit 92ba6d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/NETworkManager.Profiles/Application/RemoteDesktop.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using NETworkManager.Models.RemoteDesktop;
22
using NETworkManager.Settings;
3-
using System.Windows.Forms;
43

54
namespace NETworkManager.Profiles.Application
65
{
@@ -59,7 +58,8 @@ public static RemoteDesktopSessionInfo CreateSessionInfo()
5958

6059
public static RemoteDesktopSessionInfo CreateSessionInfo(ProfileInfo profileInfo)
6160
{
62-
var info = new RemoteDesktopSessionInfo();
61+
var info = CreateSessionInfo();
62+
6363
// Override hostname
6464
info.Hostname = profileInfo.Host;
6565

0 commit comments

Comments
 (0)