From 7e1f7d15d5d24f76a63fd9302e77114cc2517450 Mon Sep 17 00:00:00 2001 From: "Michael J. Seiferling" Date: Fri, 30 Nov 2018 09:06:26 -0600 Subject: [PATCH] Fix #172 --- GBM/Forms/frmAddWizard.vb | 3 +-- GBM/Forms/frmGameManager.vb | 4 ++-- GBM/My Project/AssemblyInfo.vb | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/GBM/Forms/frmAddWizard.vb b/GBM/Forms/frmAddWizard.vb index 8fda50b..7892451 100644 --- a/GBM/Forms/frmAddWizard.vb +++ b/GBM/Forms/frmAddWizard.vb @@ -237,8 +237,6 @@ Public Class frmAddWizard End Function Private Function ValidateSavePath(ByVal strPath As String, ByRef sErrorMessage As String) As Boolean - strPath = mgrPath.ValidatePathForOS(strPath) - If strPath.Trim = String.Empty Then sErrorMessage = frmAddWizard_ErrorValidSavePath txtSavePath.Focus() @@ -326,6 +324,7 @@ Public Class frmAddWizard End If Case eSteps.Step3 + txtSavePath.Text = mgrPath.ValidatePathForOS(txtSavePath.Text) If ValidateSavePath(txtSavePath.Text, sErrorMessage) Then lblIncludePath.Text = txtSavePath.Text lblExcludePath.Text = txtSavePath.Text diff --git a/GBM/Forms/frmGameManager.vb b/GBM/Forms/frmGameManager.vb index 9f1ec6b..b125f9e 100644 --- a/GBM/Forms/frmGameManager.vb +++ b/GBM/Forms/frmGameManager.vb @@ -571,9 +571,9 @@ Public Class frmGameManager Private Function GetBuilderRoot() As String Dim sRoot As String = String.Empty - Dim sPath As String = txtSavePath.Text + Dim sPath As String = mgrPath.ValidatePathForOS(txtSavePath.Text) - If Not Settings.ShowResolvedPaths Then sPath = mgrPath.ReplaceSpecialPaths(txtSavePath.Text) + If Not Settings.ShowResolvedPaths Then sPath = mgrPath.ReplaceSpecialPaths(sPath) If Path.IsPathRooted(sPath) Then If Directory.Exists(sPath) Then diff --git a/GBM/My Project/AssemblyInfo.vb b/GBM/My Project/AssemblyInfo.vb index c015397..aa4d54a 100644 --- a/GBM/My Project/AssemblyInfo.vb +++ b/GBM/My Project/AssemblyInfo.vb @@ -33,7 +33,7 @@ Imports System.Runtime.InteropServices ' by using the '*' as shown below: ' - - + + \ No newline at end of file