dabo Commit
Revision 7226
Date: 2012-08-16 12:38:46 -0700 (Thu, 16 Aug 2012)
Author: Paul
Trac: http://trac.dabodev.com/changeset/7226

Changed:
U   trunk/ide/ReportDesigner.py

Log:
When editing the report xml and for instance adding/removing variables, the
object tree wasn't getting refreshed to reflect the changes. Fixed.


Diff:
Modified: trunk/ide/ReportDesigner.py
===================================================================
--- trunk/ide/ReportDesigner.py 2012-08-16 00:30:38 UTC (rev 7225)
+++ trunk/ide/ReportDesigner.py 2012-08-16 19:38:46 UTC (rev 7226)
@@ -2498,10 +2498,11 @@
                        editor._rw._clearMemento = True
                        editor.initReportForm()
                        editor.setCaption()
+                       ## Force a rebuild of the object tree:
+                       rdc.refreshTree()
                        ## Force a refresh of the propsheet:
                        rdc.ActiveEditor = self.editor
 
-
        def beforeClose(self, evt):
                result = self.editor.closeFile()
                if result is None:



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to