Moved the forced focus out of the DataView and into the ProbeView, since

that should not be the default behaviour of the DataView class.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6633 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-02-18 14:31:23 +00:00
parent dc51127a5d
commit d556aa00c8
2 changed files with 9 additions and 0 deletions

View File

@ -762,6 +762,14 @@ ProbeView::AllAttached()
}
void
ProbeView::WindowActivated(bool active)
{
if (active)
fDataView->MakeFocus(true);
}
void
ProbeView::MessageReceived(BMessage *message)
{

View File

@ -27,6 +27,7 @@ class ProbeView : public BView {
virtual void DetachedFromWindow();
virtual void AttachedToWindow();
virtual void AllAttached();
virtual void WindowActivated(bool active);
virtual void MessageReceived(BMessage *message);
void AddFileMenuItems(BMenu *menu, int32 index);