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:
@@ -376,6 +376,11 @@ LaunchButton::SetIgnoreDoubleClick(bool refuse)
|
|||||||
void
|
void
|
||||||
LaunchButton::_UpdateToolTip()
|
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) {
|
if (fRef) {
|
||||||
BString helper(fRef->name);
|
BString helper(fRef->name);
|
||||||
if (fDescription.CountChars() > 0) {
|
if (fDescription.CountChars() > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user