[haiku-commits] r39892 - haiku/trunk/src/apps/drivesetup

  • From: superstippi@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 19 Dec 2010 12:01:47 +0100 (CET)

Author: stippi
Date: 2010-12-19 12:01:47 +0100 (Sun, 19 Dec 2010)
New Revision: 39892
Changeset: http://dev.haiku-os.org/changeset/39892
Ticket: http://dev.haiku-os.org/ticket/4746

Modified:
   haiku/trunk/src/apps/drivesetup/MainWindow.cpp
Log:
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.


Modified: haiku/trunk/src/apps/drivesetup/MainWindow.cpp
===================================================================
--- haiku/trunk/src/apps/drivesetup/MainWindow.cpp      2010-12-19 10:55:36 UTC 
(rev 39891)
+++ haiku/trunk/src/apps/drivesetup/MainWindow.cpp      2010-12-19 11:01:47 UTC 
(rev 39892)
@@ -241,6 +241,7 @@
        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) {


Other related posts:

  • » [haiku-commits] r39892 - haiku/trunk/src/apps/drivesetup - superstippi