Fix #172
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user