diff options
author | Lluis Sanchez <lluis@xamarin.com> | 2012-05-31 18:23:56 +0400 |
---|---|---|
committer | Lluis Sanchez <lluis@xamarin.com> | 2012-05-31 18:24:32 +0400 |
commit | f2c85ebbddf16b800690b172abb656ee497068f3 (patch) | |
tree | 7d1ae7b8b6908b503bc14655e7f795dc4c9f3ffd | |
parent | 7098b8c53f280c195e628ec4969bad7aabd3c2fe (diff) |
Fix 5269 - Null reference exception trying to show a tooltip in the designer
-rw-r--r-- | main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.Toolbox/ToolboxWidget.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.Toolbox/ToolboxWidget.cs b/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.Toolbox/ToolboxWidget.cs index 56aee1db53..afff201a77 100644 --- a/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.Toolbox/ToolboxWidget.cs +++ b/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.Toolbox/ToolboxWidget.cs @@ -401,6 +401,12 @@ namespace MonoDevelop.DesignerSupport.Toolbox } return false; } + + protected override void OnUnrealized () + { + HideTooltipWindow (); + base.OnUnrealized (); + } protected override bool OnLeaveNotifyEvent (Gdk.EventCrossing evnt) { |