From 1aae05b9ef1b0f4ea3a33964cfc4d45e525b0c53 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Fri, 25 Aug 2023 19:18:22 +0200 Subject: [PATCH] fixes --- Core/GUI/Windows/WindowBranch.cs | 2 +- Visualizations/Types/DEBUGColumns.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Core/GUI/Windows/WindowBranch.cs b/Core/GUI/Windows/WindowBranch.cs index a23c4d0..f900ba6 100644 --- a/Core/GUI/Windows/WindowBranch.cs +++ b/Core/GUI/Windows/WindowBranch.cs @@ -249,7 +249,7 @@ private void delete_childbranch(WindowBranch delete_child) clear_content(_content); clear_content(kept_child._content); - if ((kept_child._children.Item1 != null) && (kept_child._children.Item2 != null)) + if ((kept_child._children != null) && (kept_child._children.Item1 != null) && (kept_child._children.Item2 != null)) { _children = new Tuple(kept_child._children.Item1, kept_child._children.Item2); diff --git a/Visualizations/Types/DEBUGColumns.cs b/Visualizations/Types/DEBUGColumns.cs index b3a83dd..1671ce2 100644 --- a/Visualizations/Types/DEBUGColumns.cs +++ b/Visualizations/Types/DEBUGColumns.cs @@ -28,7 +28,6 @@ using Visualizations.Management; using SciChart.Core.Utility.Mouse; using SciChart.Charting.ChartModifiers; -using SciChart.Charting3D.Model;