Author: reinhard
Date: 2006-10-24 14:10:37 -0500 (Tue, 24 Oct 2006)
New Revision: 8921
Modified:
trunk/gnue-forms/src/GFObjects/GFBlock.py
Log:
Fixed refreshing of ui after query. Not yet working with several independent
blocks (non master/detail relationship) on the same form.
Modified: trunk/gnue-forms/src/GFObjects/GFBlock.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFBlock.py 2006-10-24 18:55:18 UTC (rev
8920)
+++ trunk/gnue-forms/src/GFObjects/GFBlock.py 2006-10-24 19:10:37 UTC (rev
8921)
@@ -982,13 +982,16 @@
exist._children = [c]
conditions = GConditions.combineConditions(conditions, exist)
+ for block in self._logic._blockList:
+ block.mode = 'normal'
+
+ # FIXME: This leaves blocks not affected from this query unupdated
rootBlock._dataSourceLink.createResultSet(conditions)
for block in self._logic._blockList:
block.processTrigger('POST-QUERY')
for field in block._fieldList:
field.processTrigger('POST-QUERY')
- block.cancel_query()
# -------------------------------------------------------------------------
_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue