Fix issue MR-422 - Gives error Object reference not set to an instance of an object.

This commit is contained in:
Riley McArdle
2013-03-22 22:03:41 -05:00
parent e1329348d1
commit f4bb268e27
2 changed files with 2 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
Fixed issue MR-422 - Gives error Object reference not set to an instance of an object.
Fixed an exception or crash when choosing unnamed colors for themes.
Fixed possible error "Control does not support transparent background colors" when modifying themes.
Fixed changes to the active theme not being saved reliably.

View File

@@ -98,6 +98,7 @@ Namespace Config
.Hostname = sessionKey.GetValue("HostName")
.Username = sessionKey.GetValue("UserName")
Dim protocol As String = sessionKey.GetValue("Protocol")
If protocol Is Nothing Then Return Nothing
Select Case protocol.ToLowerInvariant()
Case "raw"
.Protocol = Protocols.RAW