diff options
author | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2011-11-04 21:16:49 +0400 |
---|---|---|
committer | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2011-11-05 03:54:36 +0400 |
commit | 10549f1eac249dcb7aaa27a3fac2bc2ecb02cf56 (patch) | |
tree | 3a1de7d40c1e69b5487e84da50e9cdd6e8fccef9 /main/src/addins/MonoDevelop.SourceEditor2 | |
parent | 1a6613183e73b4ec7ae716b2f7d766c8de97ec22 (diff) |
Filter context menu clicks from left-click handling
Diffstat (limited to 'main/src/addins/MonoDevelop.SourceEditor2')
-rw-r--r-- | main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/QuickTaskStrip.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/QuickTaskStrip.cs b/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/QuickTaskStrip.cs index 8a475d2c39..ebe14511f3 100644 --- a/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/QuickTaskStrip.cs +++ b/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/QuickTaskStrip.cs @@ -232,7 +232,7 @@ namespace MonoDevelop.SourceEditor { button |= evnt.Button; - if (evnt.Button == 1 && hoverTask != null) { + if (!evnt.TriggersContextMenu () && evnt.Button == 1 && hoverTask != null) { TextEditor.Caret.Location = new DocumentLocation (hoverTask.Location.Line, Math.Max (DocumentLocation.MinColumn, hoverTask.Location.Column)); TextEditor.CenterToCaret (); TextEditor.StartCaretPulseAnimation (); |