dabo Commit
Revision 6273
Date: 2010-12-20 04:23:04 -0800 (Mon, 20 Dec 2010)
Author: Ed
Trac: http://trac.dabodev.com/changeset/6273

Changed:
U   trunk/ide/CxnEditor.py

Log:
Removed redundant event binding and handler

Diff:
Modified: trunk/ide/CxnEditor.py
===================================================================
--- trunk/ide/CxnEditor.py      2010-12-19 22:46:06 UTC (rev 6272)
+++ trunk/ide/CxnEditor.py      2010-12-20 12:23:04 UTC (rev 6273)
@@ -76,8 +76,7 @@
                cap = dui.dLabel(self.bg, Caption=_("Connection"))
                ctl = dui.dDropdownList(self.bg, Choices=[""],
                                RegID="connectionSelector",
-                               OnHit=self.onConnectionSelector)
-               ctl.bindEvent(dEvents.Hit, self.onConnectionChange)
+                               OnHit=self.onConnectionChange)
                btn = dui.dButton(self.bg, Caption=_("Edit Name"), 
RegID="cxnEdit",
                                OnHit=self.onCxnEdit)
                hsz = dui.dSizer("h")
@@ -310,13 +309,6 @@
                self.update()
 
 
-       def onConnectionSelector(self, evt):
-               self.currentConn = self.connectionSelector.StringValue
-               self.updtToForm()
-               self.enableControls()
-               self.update()
-
-
        def testConnection(self):
                # Update the values
                self.updtFromForm()



_______________________________________________
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