commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9721 - trunk/gnue-forms/src/GFObjects


From: reinhard
Subject: [gnue] r9721 - trunk/gnue-forms/src/GFObjects
Date: Mon, 18 Jun 2007 09:15:24 -0500 (CDT)

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):





reply via email to

[Prev in Thread] Current Thread [Next in Thread]