diff --git a/src/Libraries/ICSharpCode.TextEditor/Project/Src/Gui/TextArea.cs b/src/Libraries/ICSharpCode.TextEditor/Project/Src/Gui/TextArea.cs index 33601ac661..02fb36ced1 100644 --- a/src/Libraries/ICSharpCode.TextEditor/Project/Src/Gui/TextArea.cs +++ b/src/Libraries/ICSharpCode.TextEditor/Project/Src/Gui/TextArea.cs @@ -309,7 +309,7 @@ namespace ICSharpCode.TextEditor public void SetToolTip(string text) { - if (toolTip == null) toolTip = new DeclarationViewWindow(this.FindForm()); + if (toolTip == null || toolTip.IsDisposed) toolTip = new DeclarationViewWindow(this.FindForm()); toolTipSet = (text != null); if (oldToolTip == text) return;