Skip to content

Commit

Permalink
Fix: Session info has no default values when connecting via profile
Browse files Browse the repository at this point in the history
  • Loading branch information
BornToBeRoot committed Feb 10, 2022
1 parent bed9265 commit 92ba6d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/NETworkManager.Profiles/Application/RemoteDesktop.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using NETworkManager.Models.RemoteDesktop;
using NETworkManager.Settings;
using System.Windows.Forms;

namespace NETworkManager.Profiles.Application
{
Expand Down Expand Up @@ -59,7 +58,8 @@ public static RemoteDesktopSessionInfo CreateSessionInfo()

public static RemoteDesktopSessionInfo CreateSessionInfo(ProfileInfo profileInfo)
{
var info = new RemoteDesktopSessionInfo();
var info = CreateSessionInfo();

// Override hostname
info.Hostname = profileInfo.Host;

Expand Down

0 comments on commit 92ba6d4

Please sign in to comment.