Author: reinhard
Date: 2007-06-18 09:15:23 -0500 (Mon, 18 Jun 2007)
New Revision: 9721

Modified:
   trunk/gnue-forms/src/GFObjects/GFBlock.py
Log:
Fixed removal of (all) and (empty) from dropdown list on apply_filter for
detail blocks.


Modified: trunk/gnue-forms/src/GFObjects/GFBlock.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFBlock.py   2007-06-18 09:56:26 UTC (rev 
9720)
+++ trunk/gnue-forms/src/GFObjects/GFBlock.py   2007-06-18 14:15:23 UTC (rev 
9721)
@@ -585,7 +585,6 @@
         if self.__get_master_block() is None:
             # Condition for the master block
             conditions = self.__generate_condition_tree()
-            self.__refresh_choices()
 
             self.__in_query = True
             try:
@@ -593,6 +592,9 @@
             finally:
                 self.__in_query = False
 
+        # Update list of allowed values
+        self.__refresh_choices()
+
     # -------------------------------------------------------------------------
 
     def set_filter(self, *args, **params):



_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to