Browse Source

fixed problem with disposed window

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@625 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Markus Palme 21 years ago
parent
commit
a89751b639
  1. 2
      src/Libraries/ICSharpCode.TextEditor/Project/Src/Gui/TextArea.cs

2
src/Libraries/ICSharpCode.TextEditor/Project/Src/Gui/TextArea.cs

@ -309,7 +309,7 @@ namespace ICSharpCode.TextEditor @@ -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;

Loading…
Cancel
Save