From 91262db838d5b6b09f689225ac885fdd1886ec80 Mon Sep 17 00:00:00 2001 From: rmcardle Date: Tue, 6 Dec 2011 23:05:42 -0600 Subject: [PATCH] Fixed file name in window title changing when exporting an XML file. Removed redundant code. --- mRemoteV1/CHANGELOG.TXT | 1 + mRemoteV1/Config/Config.Connections.Save.vb | 8 +------- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/mRemoteV1/CHANGELOG.TXT b/mRemoteV1/CHANGELOG.TXT index b0ffc6e9..25c5c283 100644 --- a/mRemoteV1/CHANGELOG.TXT +++ b/mRemoteV1/CHANGELOG.TXT @@ -2,6 +2,7 @@ Fixed issue #66 - Fresh Install Fails to Create Config Fixed issue #67 - Connection file gets erased Disabled automatic updates in the portable edition + Fixed file name in window title changing when exporting an XML file. Updated PuTTY to version 0.61 Binaries are now digitally signed diff --git a/mRemoteV1/Config/Config.Connections.Save.vb b/mRemoteV1/Config/Config.Connections.Save.vb index 52a61cca..dc453b78 100644 --- a/mRemoteV1/Config/Config.Connections.Save.vb +++ b/mRemoteV1/Config/Config.Connections.Save.vb @@ -157,18 +157,12 @@ Namespace Config SaveToVRE() Case Format.vRDCSV SaveTovRDCSV() - Case Format.mRXML Or Format.None - SaveToXML() - If My.Settings.EncryptCompleteConnectionsFile Then - EncryptCompleteFile() - End If - SetMainFormText(_ConnectionFileName) Case Else SaveToXML() If My.Settings.EncryptCompleteConnectionsFile Then EncryptCompleteFile() End If - SetMainFormText(_ConnectionFileName) + If Not _Export Then SetMainFormText(_ConnectionFileName) End Select End Sub #End Region