This commit is contained in:
Michael J. Seiferling
2018-11-30 09:06:26 -06:00
parent fe6e0d9d37
commit 7e1f7d15d5
3 changed files with 5 additions and 6 deletions
+1 -2
View File
@@ -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
+2 -2
View File
@@ -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