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
This commit is contained in:
parent
70e39d0927
commit
1179b11bf2
@ -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<BToolTip*>(NULL));
|
||||
|
||||
if (fRef) {
|
||||
BString helper(fRef->name);
|
||||
if (fDescription.CountChars() > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user