Author: bugman Date: Thu Jun 30 17:16:49 2011 New Revision: 13347 URL: http://svn.gna.org/viewcvs/relax?rev=13347&view=rev Log: Fix for the structure.delete() GUI user function - the contents of nothing is now being added. Modified: branches/gui_testing/gui/user_functions/structure.py Modified: branches/gui_testing/gui/user_functions/structure.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/user_functions/structure.py?rev=13347&r1=13346&r2=13347&view=diff ============================================================================== --- branches/gui_testing/gui/user_functions/structure.py (original) +++ branches/gui_testing/gui/user_functions/structure.py Thu Jun 30 17:16:49 2011 @@ -65,6 +65,14 @@ title = 'Structure deletion' + def add_contents(self, sizer): + """Add the spin specific GUI elements. + + @param sizer: A sizer object. + @type sizer: wx.Sizer instance + """ + + def on_execute(self): """Execute the user function."""