Author: stippi Date: 2010-06-10 11:02:29 +0200 (Thu, 10 Jun 2010) New Revision: 37078 Changeset: http://dev.haiku-os.org/changeset/37078/haiku Modified: haiku/trunk/src/apps/launchbox/LaunchButton.cpp Log: Work around a bug in the tool tip implementation that prevents changing the tool tip once it has been displayed. Modified: haiku/trunk/src/apps/launchbox/LaunchButton.cpp =================================================================== --- haiku/trunk/src/apps/launchbox/LaunchButton.cpp 2010-06-10 08:52:57 UTC (rev 37077) +++ haiku/trunk/src/apps/launchbox/LaunchButton.cpp 2010-06-10 09:02:29 UTC (rev 37078) @@ -376,6 +376,11 @@ void LaunchButton::_UpdateToolTip() { + // TODO: This works around a bug in the tool tip management. + // Remove when fixed (although no harm done...) + HideToolTip(); + SetToolTip(static_cast<BToolTip*>(NULL)); + if (fRef) { BString helper(fRef->name); if (fDescription.CountChars() > 0) {