Let the controller handle setting the default tool tip for the tab bar so it
knows the state changed. A good example of where using a controller-based design can't be done halfway. It took me way too long to debug this (that mostly being my fault.) Fixes #6382. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@556 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
parent
8d1fc88170
commit
530dea0f16
@ -464,11 +464,8 @@ TabContainerView::_MouseMoved(BPoint where, uint32 _transit,
|
||||
fLastMouseEventTab = tab;
|
||||
if (fLastMouseEventTab)
|
||||
fLastMouseEventTab->MouseMoved(where, B_ENTERED_VIEW, dragMessage);
|
||||
else {
|
||||
SetToolTip(static_cast<BToolTip*>(NULL));
|
||||
HideToolTip();
|
||||
SetToolTip("Double-click or middle-click to open new tab.");
|
||||
}
|
||||
else
|
||||
fController->SetToolTip("Double-click or middle-click to open new tab.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user