From abaadc847e266425b955e28f4cbd90de64f197cf Mon Sep 17 00:00:00 2001 From: Katy Coe Date: Mon, 10 Feb 2020 07:04:03 +0100 Subject: [PATCH] GUI: Fix root namespace wasn't excluded properly if selected --- Il2CppInspector.GUI/MainWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Il2CppInspector.GUI/MainWindow.xaml.cs b/Il2CppInspector.GUI/MainWindow.xaml.cs index 95d1ea9..8d618e2 100644 --- a/Il2CppInspector.GUI/MainWindow.xaml.cs +++ b/Il2CppInspector.GUI/MainWindow.xaml.cs @@ -370,7 +370,7 @@ namespace Il2CppInspectorGUI foreach (var node in nodes) { if (node.IsChecked == false) - ns.Add(node.FullName); + ns.Add(node.FullName == "" ? "" : node.FullName); else if (node.Children != null) ns.AddRange(constructExcludedNamespaces(node.Children));