Author: bugman
Date: Tue Feb 3 16:01:46 2015
New Revision: 27477
URL: http://svn.gna.org/viewcvs/relax?rev=27477&view=rev
Log:
Fixes for the custom Destroy() methods for the pipe editor and results viewer
GUI windows.
The event argument is now a keyword argument which defaults to None. This
allows the Destroy()
methods to be called without arguments.
Modified:
trunk/gui/pipe_editor.py
trunk/gui/results_viewer.py
Modified: trunk/gui/pipe_editor.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/gui/pipe_editor.py?rev=27477&r1=27476&r2=27477&view=diff
==============================================================================
--- trunk/gui/pipe_editor.py (original)
+++ trunk/gui/pipe_editor.py Tue Feb 3 16:01:46 2015
@@ -104,7 +104,7 @@
self.update_grid()
- def Destroy(self, event):
+ def Destroy(self, event=None):
"""Cleanly destroy the window.
@param event: The wx event.
Modified: trunk/gui/results_viewer.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/gui/results_viewer.py?rev=27477&r1=27476&r2=27477&view=diff
==============================================================================
--- trunk/gui/results_viewer.py (original)
+++ trunk/gui/results_viewer.py Tue Feb 3 16:01:46 2015
@@ -106,7 +106,7 @@
self.name = 'results viewer'
- def Destroy(self, event):
+ def Destroy(self, event=None):
"""Cleanly destroy the window.
@param event: The wx event.
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits