* Before stippi starts clobbering the sources everywhere with superfluous

work-arounds, I applied the work-around where the problem actually occurs,
  until someone takes the time to look into it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37095 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2010-06-11 07:56:51 +00:00
parent be816234e8
commit 12c93cc7f8

View File

@ -4674,6 +4674,10 @@ BView::DoLayout()
void
BView::SetToolTip(const char* text)
{
// TODO: temporary work-around for bug #5669
HideToolTip();
SetToolTip(static_cast<BToolTip*>(NULL));
if (BTextToolTip* tip = dynamic_cast<BTextToolTip*>(fToolTip))
tip->SetText(text);
else