From fd4e961b397f068fb6fafd40a98f5dfaab66bcc2 Mon Sep 17 00:00:00 2001 From: Emmanuele Sassi Date: Mon, 18 Sep 2023 16:02:06 +0200 Subject: [PATCH] - correzione eliminazione nuovo prod non salvato --- EgtBEAMWALL.ViewerOptimizer/ProjectFileVM/ProdFileVM.vb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/EgtBEAMWALL.ViewerOptimizer/ProjectFileVM/ProdFileVM.vb b/EgtBEAMWALL.ViewerOptimizer/ProjectFileVM/ProdFileVM.vb index 105345d1..9fec89cf 100644 --- a/EgtBEAMWALL.ViewerOptimizer/ProjectFileVM/ProdFileVM.vb +++ b/EgtBEAMWALL.ViewerOptimizer/ProjectFileVM/ProdFileVM.vb @@ -1,6 +1,7 @@ Imports System.IO Imports EgtBEAMWALL.Core Imports EgtUILib +Imports EgtWPFLib5 Public Class ProdFileVM Inherits Core.ProdFileVM @@ -155,7 +156,7 @@ Public Class ProdFileVM End Try Map.refProdManagerVM.m_MruFiles.Remove(CurrProject.sProdPath) Map.refProdManagerVM.NotifyPropertyChanged(NameOf(Map.refProdManagerVM.MruFileNames)) - DbControllers.m_ProdController.DeleteProd(CurrProject.nProdId, True) + DbControllers.m_ProdController.DeleteProd(CurrProject.nProdId, False) If CurrProject.nProdId = Map.refProjManagerVM.CurrProj.nProdId Then ' reset prod in path proj Map.refProjManagerVM.UpdateCurrProj()