diff --git a/MainForm.cs b/MainForm.cs index 228929a..c8626a7 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -246,7 +246,16 @@ namespace NBTExplorer private void _contextMoveDown_Click (object sender, EventArgs e) { + TreeNode frontNode = _nodeTree.SelectedNode; + if (frontNode == null) + return; + DataNode node = frontNode.Tag as DataNode; + if (node == null || !node.CanMoveNodeDown) + return; + + node.ChangeRelativePosition(1); + RefreshChildNodes(frontNode.Parent, node.Parent); } private void ExpandNode (TreeNode node) diff --git a/NBTExplorer.csproj b/NBTExplorer.csproj index a20b9eb..0b26b23 100644 --- a/NBTExplorer.csproj +++ b/NBTExplorer.csproj @@ -130,12 +130,6 @@ Find.cs - - Form - - - Form1.cs - Form @@ -214,10 +208,6 @@ Find.cs - - Form1.cs - Designer - EditHex.cs @@ -234,7 +224,9 @@ HexBox.cs - + + Designer + diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index f66c603..b5b768f 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // 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("2.0.0.0")] -[assembly: AssemblyFileVersion("2.0.0.0")] +[assembly: AssemblyVersion("2.0.1.0")] +[assembly: AssemblyFileVersion("2.0.1.0")]