From 588d6149cd334776c26910cd90c938e272d87adb Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 12 Sep 2016 18:20:45 +0200 Subject: [PATCH] Don't disable inputs when selecting localhost * If there aren't any other host, then selecting localhost will still need to keep the option to add a new host --- renderdocui/Windows/Dialogs/RemoteManager.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/renderdocui/Windows/Dialogs/RemoteManager.cs b/renderdocui/Windows/Dialogs/RemoteManager.cs index d91ee689c..e7dd04307 100644 --- a/renderdocui/Windows/Dialogs/RemoteManager.cs +++ b/renderdocui/Windows/Dialogs/RemoteManager.cs @@ -282,18 +282,18 @@ namespace renderdocui.Windows.Dialogs if (refreshAll.Enabled) refreshOne.Enabled = true; - addUpdateHost.Text = "Update"; - if (host.Hostname == "localhost") { - hostname.Enabled = addUpdateHost.Enabled = runCommand.Enabled = false; - hostname.Text = "localhost"; + hostname.Text = ""; + runCommand.Text = ""; } else { deleteHost.Enabled = true; runCommand.Text = host.RunCommand; hostname.Text = host.Hostname; + + addUpdateHost.Text = "Update"; } } }