diff --git a/WebWindowComplex/Models/Area.cs b/WebWindowComplex/Models/Area.cs
index 705b349..88f7b40 100644
--- a/WebWindowComplex/Models/Area.cs
+++ b/WebWindowComplex/Models/Area.cs
@@ -185,15 +185,13 @@ namespace WebWindowComplex.Models
if(frame != null)
{
// Aggiorno joint di tutte le ante
- if(AreaList.FirstOrDefault()!.AreaList.FirstOrDefault().AreaList.FirstOrDefault() is Sash)
+ if(AreaList.FirstOrDefault()!.AreaList.FirstOrDefault()!.AreaList.FirstOrDefault() is Sash sash && sash != null)
{
- Sash sash = (Sash)AreaList.FirstOrDefault()!.AreaList.FirstOrDefault().AreaList.FirstOrDefault();
foreach(var anta in sash.SashList)
{
foreach (var j in anta.JointList)
j.SelJointType = anta.JointList.FirstOrDefault().SelJointType;
}
-
}
// Aggiorno altezza sotto aree
frame.SearchAreaList(frame, frame.AvailHeightArea(), "Height");
diff --git a/WebWindowComplex/WebWindowComplex.csproj b/WebWindowComplex/WebWindowComplex.csproj
index d5e75f9..6f15799 100644
--- a/WebWindowComplex/WebWindowComplex.csproj
+++ b/WebWindowComplex/WebWindowComplex.csproj
@@ -6,7 +6,7 @@
net8.0
enable
enable
- 3.1.3.1618
+ 3.1.3.1811
Annamaria Sassi
Egalware
Componente gestione Configurazioni avanzate Window per LUX
@@ -47,3 +47,6 @@
+
+
+
diff --git a/WebWindowConfigurator/WebWindowConfigurator.csproj b/WebWindowConfigurator/WebWindowConfigurator.csproj
index 695abc4..a663915 100644
--- a/WebWindowConfigurator/WebWindowConfigurator.csproj
+++ b/WebWindowConfigurator/WebWindowConfigurator.csproj
@@ -6,7 +6,7 @@
net8.0
enable
enable
- 3.1.3.1618
+ 3.1.3.1811
Annamaria Sassi
Egalware
Componente gestione JWD per LUX
@@ -46,3 +46,6 @@
+
+
+