Miglioramenti travi e sesting

This commit is contained in:
Emmanuele Sassi
2021-05-13 19:50:17 +02:00
parent 025c57d78f
commit fcff7cfbb7
19 changed files with 568 additions and 517 deletions
@@ -194,9 +194,6 @@ Public Class ProjManagerVM
End Function
Public Function SetCurrProj(nProjId As Integer) As Boolean
If Not IsNothing(m_CurrProj) Then
DbControllers.m_ProjController.LockByProjId(m_CurrProj.nProjId, False)
End If
Dim Currproj As ProjFileM = DbControllers.m_ProjController.FindByProjIdConv(nProjId)
If IsNothing(Currproj) Then Return False
m_CurrProj = New ProjFileVM(Currproj)
@@ -292,7 +289,6 @@ Public Class ProjManagerVM
If Map.refSceneHostVM.MainController.OpenProject(sFilePath, False) Then
m_CurrProj = TempCurrProj
DbControllers.m_ProjController.LockByProjId(m_CurrProj.nProjId, True)
Map.refMainWindowVM.UpdateTitle()
End If
' aggiorno titolo
Map.refMainWindowVM.UpdateTitle()