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 End Function
Private Function ValidateSavePath(ByVal strPath As String, ByRef sErrorMessage As String) As Boolean Private Function ValidateSavePath(ByVal strPath As String, ByRef sErrorMessage As String) As Boolean
strPath = mgrPath.ValidatePathForOS(strPath)
If strPath.Trim = String.Empty Then If strPath.Trim = String.Empty Then
sErrorMessage = frmAddWizard_ErrorValidSavePath sErrorMessage = frmAddWizard_ErrorValidSavePath
txtSavePath.Focus() txtSavePath.Focus()
@@ -326,6 +324,7 @@ Public Class frmAddWizard
End If End If
Case eSteps.Step3 Case eSteps.Step3
txtSavePath.Text = mgrPath.ValidatePathForOS(txtSavePath.Text)
If ValidateSavePath(txtSavePath.Text, sErrorMessage) Then If ValidateSavePath(txtSavePath.Text, sErrorMessage) Then
lblIncludePath.Text = txtSavePath.Text lblIncludePath.Text = txtSavePath.Text
lblExcludePath.Text = txtSavePath.Text lblExcludePath.Text = txtSavePath.Text
+2 -2
View File
@@ -571,9 +571,9 @@ Public Class frmGameManager
Private Function GetBuilderRoot() As String Private Function GetBuilderRoot() As String
Dim sRoot As String = String.Empty 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 Path.IsPathRooted(sPath) Then
If Directory.Exists(sPath) Then If Directory.Exists(sPath) Then
+2 -2
View File
@@ -33,7 +33,7 @@ Imports System.Runtime.InteropServices
' by using the '*' as shown below: ' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")> ' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("1.1.6.*")> <Assembly: AssemblyVersion("1.1.7.*")>
<Assembly: AssemblyFileVersion("1.1.6.0")> <Assembly: AssemblyFileVersion("1.1.7.0")>
<Assembly: NeutralResourcesLanguageAttribute("en")> <Assembly: NeutralResourcesLanguageAttribute("en")>