Author: reinhard
Date: 2009-10-29 04:54:52 -0500 (Thu, 29 Oct 2009)
New Revision: 10020

Modified:
   trunk/gnue-forms/src/GFObjects/GFTabStop.py
Log:
Fix for controls not assigned to a block.


Modified: trunk/gnue-forms/src/GFObjects/GFTabStop.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFTabStop.py 2009-10-28 15:42:36 UTC (rev 
10019)
+++ trunk/gnue-forms/src/GFObjects/GFTabStop.py 2009-10-29 09:54:52 UTC (rev 
10020)
@@ -107,7 +107,8 @@
         if self.__grid_link:
             self._block = self.__grid_link.get_block()
 
-        self._block._entryList.append(self)
+        if self._block:
+            self._block._entryList.append(self)
 
 
     # -------------------------------------------------------------------------



_______________________________________________
commit-gnue mailing list
commit-gnue@gnu.org
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to