diff options
author | Cody Russell <cody@jhu.edu> | 2015-07-08 17:16:12 +0300 |
---|---|---|
committer | Cody Russell <cody@jhu.edu> | 2015-07-08 17:16:12 +0300 |
commit | 49c7ca723c523d11520504a6fd40c6e9d9499555 (patch) | |
tree | 132bcda243d387b6463664909ad74cbd352d0564 /main/src/addins/MonoDevelop.DesignerSupport | |
parent | 69899f0ee7265e15f35e39596ace5a90163f2d14 (diff) |
[Ide] Pass an (x,y) instead of a null event when creating a context menu
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=31739
Diffstat (limited to 'main/src/addins/MonoDevelop.DesignerSupport')
-rw-r--r-- | main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.Toolbox/Toolbox.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.Toolbox/Toolbox.cs b/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.Toolbox/Toolbox.cs index 49db886ca0..d7df7df2dd 100644 --- a/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.Toolbox/Toolbox.cs +++ b/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.Toolbox/Toolbox.cs @@ -178,7 +178,7 @@ namespace MonoDevelop.DesignerSupport.Toolbox if (!AllowEditingComponents) return; CommandEntrySet eset = IdeApp.CommandService.CreateCommandEntrySet ("/MonoDevelop/DesignerSupport/ToolboxItemContextMenu"); - IdeApp.CommandService.ShowContextMenu (this, evt, eset, this); + IdeApp.CommandService.ShowContextMenu (this, Allocation.Left, Allocation.Top, eset, this); } [CommandHandler (MonoDevelop.Ide.Commands.EditCommands.Delete)] |