From 32ba4befc446a1add30a31434d9d8dead07f03fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sun, 19 Dec 2010 11:01:47 +0000 Subject: [PATCH] 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 --- src/apps/drivesetup/MainWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apps/drivesetup/MainWindow.cpp b/src/apps/drivesetup/MainWindow.cpp index d402e7f954..320701e12b 100644 --- a/src/apps/drivesetup/MainWindow.cpp +++ b/src/apps/drivesetup/MainWindow.cpp @@ -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) {