Author: jamest
Date: 2005-10-13 13:24:51 -0500 (Thu, 13 Oct 2005)
New Revision: 8056
Modified:
trunk/gnue-forms/src/GFObjects/GFContainer.py
Log:
stop exception if tab stop object is something like a label
Modified: trunk/gnue-forms/src/GFObjects/GFContainer.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFContainer.py 2005-10-13 14:11:50 UTC
(rev 8055)
+++ trunk/gnue-forms/src/GFObjects/GFContainer.py 2005-10-13 18:24:51 UTC
(rev 8056)
@@ -65,7 +65,9 @@
tabStops = child.getFocusOrder()
elif isinstance(child,GFTabStop):
tabStops = [child]
-
+ else:
+ tabStops = None # Things like labels
+
if bool(tabStops):
try:
index = child.focusorder - 1
_______________________________________________
Commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue