mailr14772 - /1.3/gui/analyses/auto_model_free.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 04, 2011 - 14:42:
Author: bugman
Date: Tue Oct  4 14:42:39 2011
New Revision: 14772

URL: http://svn.gna.org/viewcvs/relax?rev=14772&view=rev
Log:
Mac OS X bug fix for the closing of the model-free model list windows.

The window is no longer closed with a Hide() call as this causes the GUI to 
freeze!


Modified:
    1.3/gui/analyses/auto_model_free.py

Modified: 1.3/gui/analyses/auto_model_free.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/analyses/auto_model_free.py?rev=14772&r1=14771&r2=14772&view=diff
==============================================================================
--- 1.3/gui/analyses/auto_model_free.py (original)
+++ 1.3/gui/analyses/auto_model_free.py Tue Oct  4 14:42:39 2011
@@ -1007,9 +1007,6 @@
         # Add the table to the sizer.
         sizer.Add(self.model_list, 1, wx.ALL|wx.EXPAND, 0)
 
-        # Bind some events.
-        self.Bind(wx.EVT_CLOSE, self.handler_close)
-
 
     def get_selection(self):
         """Return the selection as a list of booleans.
@@ -1027,17 +1024,6 @@
 
         # Return the list.
         return select
-
-
-    def handler_close(self, event):
-        """Event handler for the close window action.
-
-        @param event:   The wx event.
-        @type event:    wx event
-        """
-
-        # Close the window.
-        self.Hide()
 
 
     def set_selection(self, select):




Related Messages


Powered by MHonArc, Updated Tue Oct 04 15:20:01 2011