From 1179b11bf299d362ef9d3b118ae53f7a2fbc3718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Thu, 10 Jun 2010 09:02:29 +0000 Subject: [PATCH] Work around a bug in the tool tip implementation that prevents changing the tool tip once it has been displayed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37078 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/launchbox/LaunchButton.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/apps/launchbox/LaunchButton.cpp b/src/apps/launchbox/LaunchButton.cpp index 653181625e..7c774b6685 100644 --- a/src/apps/launchbox/LaunchButton.cpp +++ b/src/apps/launchbox/LaunchButton.cpp @@ -376,6 +376,11 @@ LaunchButton::SetIgnoreDoubleClick(bool refuse) 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(NULL)); + if (fRef) { BString helper(fRef->name); if (fDescription.CountChars() > 0) {