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