Author: spitzak
Date: 2008-10-21 23:58:06 -0700 (Tue, 21 Oct 2008)
New Revision: 6482
Log:
Tab did not cycle around if Window contains only one widget.


Modified:
   trunk/src/Group.cxx

Modified: trunk/src/Group.cxx
===================================================================
--- trunk/src/Group.cxx 2008-10-22 06:52:35 UTC (rev 6481)
+++ trunk/src/Group.cxx 2008-10-22 06:58:06 UTC (rev 6482)
@@ -354,7 +354,7 @@
 
   case KEY: {
     // keyboard navigation
-    if (numchildren < 2) break;
+    if (numchildren < 1) break;
     int key = navigation_key();
     if (!key) break;
     int previous = focus_index_;

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to