From 418f023780de4251ed5fb80af84ae6b193f6bed7 Mon Sep 17 00:00:00 2001 From: David Sparer Date: Mon, 3 Oct 2016 12:02:48 -0600 Subject: [PATCH] Removed unused code --- mRemoteV1/App/Runtime.cs | 1 - mRemoteV1/UI/Window/ConnectionTreeWindow.cs | 1 - 2 files changed, 2 deletions(-) diff --git a/mRemoteV1/App/Runtime.cs b/mRemoteV1/App/Runtime.cs index fed17e6d..7e02bb7a 100644 --- a/mRemoteV1/App/Runtime.cs +++ b/mRemoteV1/App/Runtime.cs @@ -33,7 +33,6 @@ namespace mRemoteNG.App public static bool IsConnectionsFileLoaded { get; set; } public static RemoteConnectionsSyncronizer RemoteConnectionsSyncronizer { get; set; } public static DateTime LastSqlUpdate { get; set; } - public static string LastSelected { get; set; } public static ArrayList ExternalTools { get; set; } = new ArrayList(); public static ConnectionTreeModel ConnectionTreeModel { diff --git a/mRemoteV1/UI/Window/ConnectionTreeWindow.cs b/mRemoteV1/UI/Window/ConnectionTreeWindow.cs index f5babf29..42bf4968 100644 --- a/mRemoteV1/UI/Window/ConnectionTreeWindow.cs +++ b/mRemoteV1/UI/Window/ConnectionTreeWindow.cs @@ -407,7 +407,6 @@ namespace mRemoteNG.UI.Window try { Windows.ConfigForm.SetPropertyGridObject(SelectedNode); - Runtime.LastSelected = (SelectedNode)?.ConstantID; } catch (Exception ex) {