[haiku-commits] r33948 - haiku/trunk/src/apps/terminal

  • From: stefano.ceccherini@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 8 Nov 2009 13:33:50 +0100 (CET)

Author: jackburton
Date: 2009-11-08 13:33:50 +0100 (Sun, 08 Nov 2009)
New Revision: 33948
Changeset: http://dev.haiku-os.org/changeset/33948/haiku

Modified:
   haiku/trunk/src/apps/terminal/AppearPrefView.cpp
Log:
If no item is selected, select the first item.


Modified: haiku/trunk/src/apps/terminal/AppearPrefView.cpp
===================================================================
--- haiku/trunk/src/apps/terminal/AppearPrefView.cpp    2009-11-08 12:30:01 UTC 
(rev 33947)
+++ haiku/trunk/src/apps/terminal/AppearPrefView.cpp    2009-11-08 12:33:50 UTC 
(rev 33948)
@@ -262,6 +262,9 @@
                        }
                }
        }
+       
+       if (menu->FindMarked() == NULL)
+               menu->ItemAt(0)->SetMarked(true);
 
        return menu;
 }


Other related posts:

  • » [haiku-commits] r33948 - haiku/trunk/src/apps/terminal - stefano . ceccherini