- correzione apertura MRU in OnlyProd
This commit is contained in:
@@ -182,7 +182,11 @@ Public Class MainWindowVM
|
||||
Else
|
||||
' setto il primo file dalla lista degli MRU come progetto corrente da aprire
|
||||
Dim sLastProjectPath As String = String.Empty
|
||||
GetMainPrivateProfileString(S_MRUPROJFILES, K_FILE & "1", String.Empty, sLastProjectPath)
|
||||
Dim sMruSection As String = S_MRUPROJFILES
|
||||
If Map.refMainWindowVM.MainWindowM.bOnlyProd Then
|
||||
sMruSection = S_MRUPRODFILES
|
||||
End If
|
||||
GetMainPrivateProfileString(sMruSection, K_FILE & "1", String.Empty, sLastProjectPath)
|
||||
If Not String.IsNullOrWhiteSpace(sLastProjectPath) AndAlso File.Exists(sLastProjectPath) Then
|
||||
' ricavo l'Id e il progetto associato per l'apertura di quest'ultimo
|
||||
Dim PjId As Integer = 0
|
||||
|
||||
Reference in New Issue
Block a user