mailr13196 - /branches/gui_testing/gui/wizard.py


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

Header


Content

Posted by edward on June 23, 2011 - 20:26:
Author: bugman
Date: Thu Jun 23 20:26:54 2011
New Revision: 13196

URL: http://svn.gna.org/viewcvs/relax?rev=13196&view=rev
Log:
The on_apply() method by default now calls on_display().


Modified:
    branches/gui_testing/gui/wizard.py

Modified: branches/gui_testing/gui/wizard.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/wizard.py?rev=13196&r1=13195&r2=13196&view=diff
==============================================================================
--- branches/gui_testing/gui/wizard.py (original)
+++ branches/gui_testing/gui/wizard.py Thu Jun 23 20:26:54 2011
@@ -615,8 +615,11 @@
     def on_apply(self):
         """To be over-ridden if an action is to be performed on hitting the 
apply button.
 
-        This method will be called by the wizard class method 
_display_page() just after hiding all other pages but prior to displaying 
this page.
-        """
+        This method will be called when clicking on the apply button.  The 
default behaviour is to call the on_display() method.
+        """
+
+        # Call the on_display method by default.
+        self.on_display()
 
 
     def on_display(self):




Related Messages


Powered by MHonArc, Updated Thu Jun 23 21:00:02 2011