GUI: Fix root namespace wasn't excluded properly if selected

This commit is contained in:
Katy Coe
2020-02-10 07:04:03 +01:00
parent 8fe48686e9
commit abaadc847e

View File

@@ -370,7 +370,7 @@ namespace Il2CppInspectorGUI
foreach (var node in nodes) {
if (node.IsChecked == false)
ns.Add(node.FullName);
ns.Add(node.FullName == "<global namespace>" ? "" : node.FullName);
else if (node.Children != null)
ns.AddRange(constructExcludedNamespaces(node.Children));