Make the list view focused by default, this allows to use DriveSetup with

the keyboard and fixes ticket #4746. I did not test creating new
partitions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39892 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2010-12-19 11:01:47 +00:00
parent b9d2622de1
commit 32ba4befc4

View File

@ -241,6 +241,7 @@ MainWindow::MainWindow(BRect frame)
fListView->SetSelectionMode(B_SINGLE_SELECTION_LIST);
fListView->SetSelectionMessage(new BMessage(MSG_PARTITION_ROW_SELECTED));
fListView->SetTarget(this);
fListView->MakeFocus(true);
status_t ret = fDDRoster.StartWatching(BMessenger(this));
if (ret != B_OK) {