Focus the Team Monitor list view on Show(). Fixes #8775.
This commit is contained in:
parent
47b44bbedb
commit
1484de58a8
@ -260,6 +260,14 @@ TeamMonitorWindow::~TeamMonitorWindow()
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
TeamMonitorWindow::Show()
|
||||
{
|
||||
fListView->MakeFocus();
|
||||
BWindow::Show();
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
TeamMonitorWindow::MessageReceived(BMessage* msg)
|
||||
{
|
||||
@ -416,8 +424,6 @@ TeamMonitorWindow::UpdateList()
|
||||
}
|
||||
|
||||
fRestartButton->SetEnabled(!desktopRunning);
|
||||
|
||||
fListView->MakeFocus();
|
||||
}
|
||||
|
||||
|
||||
|
@ -27,6 +27,7 @@ public:
|
||||
virtual ~TeamMonitorWindow();
|
||||
|
||||
virtual void MessageReceived(BMessage* message);
|
||||
virtual void Show();
|
||||
virtual bool QuitRequested();
|
||||
|
||||
void Enable();
|
||||
|
Loading…
Reference in New Issue
Block a user