[gnue] r10317 - in trunk/gnue-designer: . src/forms
[email protected] Sat, 18 Jun 2011 04:17:40 -0500 (CDT)
| Newsgroups | gmane.comp.cms.gnue.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: reinhard Date: 2011-06-18 04:17:40 -0500 (Sat, 18 Jun 2011) New Revision: 10317 Modified: trunk/gnue-designer/ trunk/gnue-designer/src/forms/document.py Log: Bypass AttributeError: FormDocument object has no attribute visualEditor in buildWizardCurrentDict, as form.visualEditor is no longer set by a Docker. Will have to revisit this for page & block. Property changes on: trunk/gnue-designer ___________________________________________________________________ Name: bzr:revision-info - timestamp: 2011-02-25 16:52:39.342000008 -0800 committer: Whizman Software Solutions <www.whizman.com> properties: branch-nick: designer + timestamp: 2011-05-04 13:11:48.344000101 -0700 committer: whizman properties: branch-nick: designer Name: bzr:file-ids - INSTALL 1467@3a364389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-designer:INSTALL + src/forms/document.py 8389@3a364389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-designer:src%2Fforms%2Fdocument.py Name: bzr:revision-id:v4 - 937 [email protected] 938 whizman_software_solutions_www.whizman.com-20110131201023-bmx4kgkf4erlim85 939 whizman_software_solutions_www.whizman.com-20110226005239-cn6eioyybe5p62rh + 937 [email protected] 938 whizman_software_solutions_www.whizman.com-20110131201023-bmx4kgkf4erlim85 939 whizman_software_solutions_www.whizman.com-20110226005239-cn6eioyybe5p62rh 940 whizman-20110504201148-w669gtbff176vhop Name: bzr:text-parents - INSTALL svn-v3-single1-dHJ1bmsvZ251ZS1kZXNpZ25lcg..:3a364389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-designer:9992 + src/forms/document.py svn-v3-single1-dHJ1bmsvZ251ZS1kZXNpZ25lcg..:3a364389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-designer:9955 Modified: trunk/gnue-designer/src/forms/document.py =================================================================== --- trunk/gnue-designer/src/forms/document.py 2011-04-18 09:00:57 UTC (rev 10316) +++ trunk/gnue-designer/src/forms/document.py 2011-06-18 09:17:40 UTC (rev 10317) @@ -152,6 +152,7 @@ def createTools(self): + # see also createEditors self.addTool('propertyEditor', u_('Property Inspector'), PropertyEditor, hotkey='F10', menuGroup=301) self.addTool('treeEditor', u_('Object Navigator'), TreeView, @@ -299,8 +300,9 @@ return {'form': baseForm, 'logic': baseForm._logic, 'layout': baseForm._layout, - 'page': self.visualEditor.page, - 'block': self.visualEditor.block, + # AttributeError: "'FormDocument' object has no attribute 'visualEditor'" + 'page': None, # self.visualEditor.page, + 'block': None, # self.visualEditor.block, 'object': self._currentObject}