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:
@@ -241,6 +241,7 @@ MainWindow::MainWindow(BRect frame)
|
|||||||
fListView->SetSelectionMode(B_SINGLE_SELECTION_LIST);
|
fListView->SetSelectionMode(B_SINGLE_SELECTION_LIST);
|
||||||
fListView->SetSelectionMessage(new BMessage(MSG_PARTITION_ROW_SELECTED));
|
fListView->SetSelectionMessage(new BMessage(MSG_PARTITION_ROW_SELECTED));
|
||||||
fListView->SetTarget(this);
|
fListView->SetTarget(this);
|
||||||
|
fListView->MakeFocus(true);
|
||||||
|
|
||||||
status_t ret = fDDRoster.StartWatching(BMessenger(this));
|
status_t ret = fDDRoster.StartWatching(BMessenger(this));
|
||||||
if (ret != B_OK) {
|
if (ret != B_OK) {
|
||||||
|
|||||||
Reference in New Issue
Block a user