Author: bugman Date: Tue Feb 3 12:29:02 2015 New Revision: 27459 URL: http://svn.gna.org/viewcvs/relax?rev=27459&view=rev Log: Fixes for the user function GUI object Destroy() method. This matches the code just deleted in the GUI test suite tearDown() method for handing the user function page object. 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=27459&r1=27458&r2=27459&view=diff ============================================================================== --- trunk/gui/uf_objects.py (original) +++ trunk/gui/uf_objects.py Tue Feb 3 12:29:02 2015 @@ -261,6 +261,8 @@ self.wizard = None # Destroy the user function page. + if hasattr(self, 'page') and self.page != None: + self.page.Destroy() del self.page