commit-gnue
[Top][All Lists]
Advanced

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

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


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

Author: reinhard
Date: 2007-06-18 09:32:10 -0500 (Mon, 18 Jun 2007)
New Revision: 9722

Modified:
   trunk/gnue-forms/src/GFObjects/GFBlock.py
Log:
Fixed update of dropdowns on apply_filter() or discard_filter().


Modified: trunk/gnue-forms/src/GFObjects/GFBlock.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFBlock.py   2007-06-18 14:15:23 UTC (rev 
9721)
+++ trunk/gnue-forms/src/GFObjects/GFBlock.py   2007-06-18 14:32:10 UTC (rev 
9722)
@@ -566,8 +566,8 @@
         """
 
         self.mode = 'normal'
+        self.__refresh_choices()
         self.__current_record_changed(True)
-        self.__refresh_choices()
 
     # -------------------------------------------------------------------------
 
@@ -594,6 +594,11 @@
 
         # Update list of allowed values
         self.__refresh_choices()
+        # This seems redundant at first sight, but we must make sure to update
+        # the UI after we have changed the available choices, otherwise the UI
+        # will get confused. Doing this here makes sure it even is done for
+        # detail blocks that were queried before through the master.
+        self.__current_record_changed(True)
 
     # -------------------------------------------------------------------------
 





reply via email to

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