Skip to content

Commit

Permalink
Adding the contex menu on od column click back (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
nimrof authored Apr 13, 2024
1 parent 39ad96c commit 5ca7d71
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions EDSEditorGUI/DeviceODView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,11 @@ private void ListView_objects_SelectedIndexChanged(object sender, EventArgs e)
private void ListView_objects_ColumnClick(object sender, ColumnClickEventArgs e)
{
((ListView)sender).SelectedItems.Clear();

contextMenu_object.Show(Cursor.Position);
PopulateObject();
PopulateSubList();

ListView_objects_MouseClick(sender, new MouseEventArgs(MouseButtons.Right, 0, 0, 0, 0));
}

Expand Down

0 comments on commit 5ca7d71

Please sign in to comment.