Author: bugman
Date: Tue Feb 3 12:31:23 2015
New Revision: 27460
URL: http://svn.gna.org/viewcvs/relax?rev=27460&view=rev
Log:
More fixes for the user function GUI object Destroy() method.
This page GUI object is destroyed by the wizard window Destroy() method, so
destroying again causes
wxPython runtime errors.
Modified:
trunk/gui/uf_objects.py
Modified: trunk/gui/uf_objects.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/gui/uf_objects.py?rev=27460&r1=27459&r2=27460&view=diff
==============================================================================
--- trunk/gui/uf_objects.py (original)
+++ trunk/gui/uf_objects.py Tue Feb 3 12:31:23 2015
@@ -261,9 +261,8 @@
self.wizard = None
# Destroy the user function page.
- if hasattr(self, 'page') and self.page != None:
- self.page.Destroy()
- del self.page
+ if hasattr(self, 'page'):
+ del self.page
def create_page(self, wizard=None, sync=None, execute=True):
_______________________________________________
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