dabo Commit
Revision 3105
Date: 2007-05-07 10:03:23 -0700 (Mon, 07 May 2007)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/3105

Changed:
U   trunk/dabo/lib/datanav2/Form.py

Log:
Removed a stupid hack from datanav.Form that hides the form when 
deactivated (only in "Picklist" mode).


Diff:
Modified: trunk/dabo/lib/datanav2/Form.py
===================================================================
--- trunk/dabo/lib/datanav2/Form.py     2007-05-06 19:26:00 UTC (rev 3104)
+++ trunk/dabo/lib/datanav2/Form.py     2007-05-07 17:03:23 UTC (rev 3105)
@@ -33,15 +33,12 @@
                        # The form is a picklist, which pops up so the user can 
choose a record,
                        # and then hides itself afterwards. In addition, the 
picklist should hide
                        # itself when other certain conditions are met.
+       
                        def _onHide(evt):
                                dabo.ui.callAfter(self.hide)
-
                        # Pressing Esc hides the form
                        self.bindKey("esc", _onHide)
        
-                       # Deactivating hides the form
-                       self.bindEvent(dEvents.Deactivate, _onHide)
-
                # Create the various elements:
                self.setupPageFrame()
 




_______________________________________________
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/dabo-dev/[EMAIL PROTECTED]

Reply via email to