-piccola modifica per sistemare messaggio di salvataggio
This commit is contained in:
@@ -619,17 +619,7 @@ Public Class BTLDataWndVM
|
||||
Next
|
||||
|
||||
' cerco tra i layer BTLInfo
|
||||
Dim nCurrBTLInfoLayerId As Integer = EgtGetFirstNameInGroup(GDB_ID.ROOT, BTLINFO)
|
||||
While nCurrBTLInfoLayerId <> GDB_ID.NULL
|
||||
' verifico se il layer appartiene al ProjId
|
||||
Dim nBTLInfoLayerProjId As Integer
|
||||
EgtGetInfo(nCurrBTLInfoLayerId, BTL_PRT_PROJ, nBTLInfoLayerProjId)
|
||||
If nBTLInfoLayerProjId = nProjId Then
|
||||
m_nBTLInfoLayerId = nCurrBTLInfoLayerId
|
||||
Exit While
|
||||
End If
|
||||
nCurrBTLInfoLayerId = EgtGetNextName(nCurrBTLInfoLayerId, BTLINFO)
|
||||
End While
|
||||
m_nBTLInfoLayerId = EgtGetFirstNameInGroup(GDB_ID.ROOT, BTLINFO)
|
||||
|
||||
' Leggo parametri generali
|
||||
Dim sDefaultConfigFile As String = String.Empty
|
||||
@@ -638,7 +628,7 @@ Public Class BTLDataWndVM
|
||||
ElseIf EgtUILib.GetPrivateProfileString(S_STRATEGY, K_DEFAULTCONFIG, "", sDefaultConfigFile, Map.refMainWindowVM.MainWindowM.sDefaultConfig) <> 0 Then
|
||||
m_SelStrategySetup = sDefaultConfigFile
|
||||
End If
|
||||
EgtSetInfo(m_nBTLInfoLayerId, AI_SETUP, m_SelStrategySetup)
|
||||
If Not EgtExistsInfo(m_nBTLInfoLayerId, AI_SETUP) Then EgtSetInfo(m_nBTLInfoLayerId, AI_SETUP, m_SelStrategySetup)
|
||||
|
||||
Dim sStrategiesDirPath As String = Map.refMainWindowVM.MainWindowM.GetStrategiesDirPath(nType)
|
||||
Dim sGeneralParametersFilePath As String = sStrategiesDirPath & "\" & GENERALPARAMETERS_FILE & ".json"
|
||||
|
||||
Reference in New Issue
Block a user