diff --git a/Step.Config/Config/serverConfig.xml b/Step.Config/Config/serverConfig.xml index 562bbb4b..963b65d2 100644 --- a/Step.Config/Config/serverConfig.xml +++ b/Step.Config/Config/serverConfig.xml @@ -16,5 +16,7 @@ true localhost false + + \ No newline at end of file diff --git a/Step.UI/ServerControlWindow.cs b/Step.UI/ServerControlWindow.cs index 2255bba2..ea78e3ae 100644 --- a/Step.UI/ServerControlWindow.cs +++ b/Step.UI/ServerControlWindow.cs @@ -32,7 +32,8 @@ namespace Step.UI //End the update LISTThreadStatus.EndUpdate(); - TXTType.Text = NcConfig.NcVendor; + if(NcConfig != null && NcConfig.NcVendor != null) + TXTType.Text = NcConfig.NcVendor; InitializeMessageListeners();