Permalink
Browse files

Fix issue MR-235 - Config file gets corrupted when leaving the passwo…

…rd entry box with ESC
  • Loading branch information...
rmcardle committed Feb 17, 2013
1 parent 323b3fb commit f7dfe0ecd0646c3e97c240bc30fc68c1a5a3eb88
Showing with 5 additions and 1 deletion.
  1. +1 −0 CHANGELOG.TXT
  2. +2 −0 mRemoteV1/App/App.Runtime.vb
  3. +1 −1 mRemoteV1/Config/Config.Connections.Save.vb
  4. +1 −0 mRemoteV1/Forms/frmMain.vb
View
@@ -29,6 +29,7 @@
Fix issue MR-202 - The Connection "Tab" show Ampersands as underscores.
Fix issue MR-214 - Hostname/IP reset
Fix issue MR-233 - Backslash at end of password prevents success of putty invocation and corresponding auto-logon
+ Fix issue MR-235 - Config file gets corrupted when leaving the password entry box with ESC
Fix issue MR-277 - Inheritance configuration button not appear in configuration tab
Fix issue MR-284 - SSH: Text not showing properly
Fix issue MR-299 - mRemoteNG crashes while using remotely (Windows XP remote desktop)
@@ -1356,6 +1356,8 @@ Namespace App
End Sub
Public Shared Sub SaveConnections(Optional ByVal Update As Boolean = False)
+ If Not IsConnectionsFileLoaded Then Exit Sub
+
Dim previousTimerState As Boolean = False
Try
@@ -468,7 +468,7 @@ Namespace Config
Private Sub SaveToXml()
Try
- If IsConnectionsFileLoaded = False Then Exit Sub
+ If Not IsConnectionsFileLoaded Then Exit Sub
Dim treeNode As TreeNode
@@ -38,6 +38,7 @@ Public Class frmMain
' Load GUI Configuration
SettingsLoad.Load()
+ If Not IsConnectionsFileLoaded Then Close()
Debug.Print("---------------------------" & vbNewLine & "[START] - " & Now)

0 comments on commit f7dfe0e

Please sign in to comment.