fix context menu
This commit is contained in:
parent
87fa2fef31
commit
896d63a7aa
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
<UseWindowsForms>True</UseWindowsForms>
|
||||
<ApplicationIcon>Resources\ini.ico</ApplicationIcon>
|
||||
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
|
||||
<Version>3.6.1.1</Version>
|
||||
<Version>3.6.1.2</Version>
|
||||
<PackageIcon>Resources\ini.ico</PackageIcon>
|
||||
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
||||
<Copyright>2021, pointfeev (https://github.com/pointfeev)</Copyright>
|
||||
|
|
|
@ -638,7 +638,7 @@ internal partial class SelectForm : CustomForm
|
|||
TreeNode node = e.Node;
|
||||
if (node is null || !node.Bounds.Contains(e.Location) || e.Button != MouseButtons.Right || e.Clicks != 1)
|
||||
return;
|
||||
using ContextMenuStrip contextMenuStrip = new();
|
||||
ContextMenuStrip contextMenuStrip = new();
|
||||
selectionTreeView.SelectedNode = node;
|
||||
string id = node.Name;
|
||||
Platform platform = (Platform)node.Tag;
|
||||
|
|
Loading…
Reference in a new issue