dabo Commit
Revision 5003
Date: 2009-01-30 16:43:06 -0800 (Fri, 30 Jan 2009)
Author: Ed
Trac: http://trac.dabodev.com/changeset/5003
Changed:
U trunk/ide/ClassDesigner.py
Log:
Sorry, forgot that my Ubuntu copy still had some old debug output in it.
Diff:
Modified: trunk/ide/ClassDesigner.py
===================================================================
--- trunk/ide/ClassDesigner.py 2009-01-31 00:35:09 UTC (rev 5002)
+++ trunk/ide/ClassDesigner.py 2009-01-31 00:43:06 UTC (rev 5003)
@@ -168,7 +168,6 @@
self.setup()
clsOK = False
-
if clsFile:
if not clsFile.endswith(".cdxml"):
clsFile += ".cdxml"
@@ -181,20 +180,15 @@
frm = self.onNewDesign(evt=None,
pth=clsFile)
clsOK = True
- print 184
if not clsOK:
frm = self.onNewDesign(None)
- print 187
if not frm:
# They canceled
sys.exit(0)
# Use this to determine if an empty class should be
released
- print 192
frm._initialStateDict = frm.getDesignerDict()
- print 194
else:
frm._initialStateDict = {}
- print 197
frm.Controller = self
self.MainForm = frm
# When more than one ClassDesigner is open, this will
@@ -1701,7 +1695,6 @@
def onNewDesign(self, evt, pth=None):
pcs = self.pagedControls
- print 1685
class NewClassPicker(dabo.ui.dOkCancelDialog):
def addControls(self):
# Create a dropdown list containing all the
choices.
@@ -1770,16 +1763,14 @@
useSizers = dlg.szChk.Visible and dlg.szChk.Value
addBasePanel = dlg.baseChk.Visible and dlg.baseChk.Value
dlg.release()
-
+
if (useSizers and not isDialog and self._reuseMainForm() and
self.MainForm.UseSizers == useSizers):
# Original form hasn't changed, so just use it.
frm = self.MainForm
else:
frmClass = self.getFormClass()
- print 1761
frm = frmClass(parent=None, SaveRestorePosition=False,
UseSizers=useSizers)
- print 1763
frm._setupPanels(addBasePanel=addBasePanel)
frm.UseSizers = useSizers
frm.Controller = self
_______________________________________________
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]