dabo Commit
Revision 4255
Date: 2008-07-08 14:18:47 -0700 (Tue, 08 Jul 2008)
Author: Nate
Trac: http://svn.dabodev.com/trac/dabo/changeset/4255

Changed:
U   trunk/ide/ClassDesignerEditor.py

Log:
Disable the _tabMenu in the class designer instead of the children.  Result of 
Paul's fix in rev 4254.

Diff:
Modified: trunk/ide/ClassDesignerEditor.py
===================================================================
--- trunk/ide/ClassDesignerEditor.py    2008-07-08 21:03:07 UTC (rev 4254)
+++ trunk/ide/ClassDesignerEditor.py    2008-07-08 21:18:47 UTC (rev 4255)
@@ -250,10 +250,7 @@
 
 
        def onUseSpaces(self, evt):
-               useTabs = not evt.EventObject.Checked
-               self.editor.UseTabs = useTabs
-               for child in self._tabMenu.Children:
-                       child.Enabled = useTabs
+               self._tabMenu.Enabled = self.editor.UseTabs = not 
evt.EventObject.Checked
 
 
        def onWhiteSpace(self, evt):




_______________________________________________
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