diff --git a/PCK-Studio/Extensions/TreeViewExtensions.cs b/PCK-Studio/Extensions/TreeViewExtensions.cs index 61583041..7ba0e35b 100644 --- a/PCK-Studio/Extensions/TreeViewExtensions.cs +++ b/PCK-Studio/Extensions/TreeViewExtensions.cs @@ -14,6 +14,12 @@ namespace PckStudio.Extensions { if (string.IsNullOrWhiteSpace(path)) return Array.Empty(); + + if (!path.Contains(treeView.PathSeparator)) + { + return treeView.Nodes.Find(path, false); + } + string segment = path.Substring(0, path.IndexOf(treeView.PathSeparator)); if (treeView.Nodes.ContainsKey(segment)) { diff --git a/PCK-Studio/Properties/AssemblyInfo.cs b/PCK-Studio/Properties/AssemblyInfo.cs index acd3487d..967d6ade 100644 --- a/PCK-Studio/Properties/AssemblyInfo.cs +++ b/PCK-Studio/Properties/AssemblyInfo.cs @@ -32,6 +32,6 @@ using System.Security.Permissions; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("7.0.0.0")] +[assembly: AssemblyVersion("7.0.0.1")] [assembly: AssemblyFileVersion("7.0.0.0")] [assembly: NeutralResourcesLanguage("")]