From 36eca36ceecfeae884885bff459baf2b259944b8 Mon Sep 17 00:00:00 2001 From: Annamaria Sassi Date: Mon, 13 Oct 2025 14:47:49 +0200 Subject: [PATCH] Corretto aggiornamento hardware se si cambia maniglia --- WebWindowComplex/Json/JsonUtility.cs | 2 +- WebWindowComplex/WebWindowComplex.csproj | 3 ++- WebWindowConfigurator/WebWindowConfigurator.csproj | 6 +++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/WebWindowComplex/Json/JsonUtility.cs b/WebWindowComplex/Json/JsonUtility.cs index c60fe9b..f5fc86a 100644 --- a/WebWindowComplex/Json/JsonUtility.cs +++ b/WebWindowComplex/Json/JsonUtility.cs @@ -400,7 +400,7 @@ namespace WebWindowComplex.Json newSash.JointList.Add(Joint.Deserialize((Area)ParentArea)); newSash.SetSelFamilyHardwareFromIndex(Hardware); newSash.RefreshHardwareList(); - newSash.SetSelHardwareFromId(Hardware); + newSash.SetSelHardwareFromId(newSash.HardwareList.First().Id); foreach (var Area in AreaList) { var AreaDeserealized = Area.Deserialize(newSash, ParentWindow); diff --git a/WebWindowComplex/WebWindowComplex.csproj b/WebWindowComplex/WebWindowComplex.csproj index ef00d29..923af7f 100644 --- a/WebWindowComplex/WebWindowComplex.csproj +++ b/WebWindowComplex/WebWindowComplex.csproj @@ -6,7 +6,7 @@ net8.0 enable enable - 2.7.10.1313 + 2.7.10.1314 Annamaria Sassi Egalware Componente gestione Configurazioni avanzate Window per LUX @@ -91,5 +91,6 @@ + diff --git a/WebWindowConfigurator/WebWindowConfigurator.csproj b/WebWindowConfigurator/WebWindowConfigurator.csproj index d83b7fc..e1c317c 100644 --- a/WebWindowConfigurator/WebWindowConfigurator.csproj +++ b/WebWindowConfigurator/WebWindowConfigurator.csproj @@ -6,7 +6,7 @@ net8.0 enable enable - 2.7.10.1313 + 2.7.10.1314 Annamaria Sassi Egalware Componente gestione JWD per LUX @@ -116,6 +116,10 @@ + + + +