forked from mirrors/NBTExplorer
Forgot to implement the move-down handler
This commit is contained in:
parent
af2702bb35
commit
7fc5e5f68b
3 changed files with 14 additions and 13 deletions
|
@ -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)
|
||||
|
|
|
@ -130,12 +130,6 @@
|
|||
<Compile Include="Forms\Find.Designer.cs">
|
||||
<DependentUpon>Find.cs</DependentUpon>
|
||||
</Compile>
|
||||
<None Include="Form1.cs">
|
||||
<SubType>Form</SubType>
|
||||
</None>
|
||||
<None Include="Form1.Designer.cs">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</None>
|
||||
<Compile Include="Forms\EditHex.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
@ -214,10 +208,6 @@
|
|||
<EmbeddedResource Include="Forms\Find.resx">
|
||||
<DependentUpon>Find.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<None Include="Form1.resx">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<EmbeddedResource Include="Forms\EditHex.resx">
|
||||
<DependentUpon>EditHex.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
@ -234,7 +224,9 @@
|
|||
<EmbeddedResource Include="Vendor\Be.Windows.Forms.HexBox\HexBox.resx">
|
||||
<DependentUpon>HexBox.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<None Include="app.config" />
|
||||
<None Include="app.config">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="dead_bush.ico" />
|
||||
|
|
|
@ -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")]
|
||||
|
|
Loading…
Reference in a new issue