Author: bugman Date: Fri May 18 11:18:02 2012 New Revision: 16334 URL: http://svn.gna.org/viewcvs/relax?rev=16334&view=rev Log: The GUI user function on_execute() method no longer shows the controller in test suite mode. The controller Raise() method was being called at the end of the method, without checking status.show_gui!!! Modified: branches/uf_redesign/gui/uf_objects.py Modified: branches/uf_redesign/gui/uf_objects.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/uf_objects.py?rev=16334&r1=16333&r2=16334&view=diff ============================================================================== --- branches/uf_redesign/gui/uf_objects.py (original) +++ branches/uf_redesign/gui/uf_objects.py Fri May 18 11:18:02 2012 @@ -35,6 +35,7 @@ from graphics import fetch_icon from relax_errors import AllRelaxErrors, RelaxError from relax_string import strip_lead +from status import Status; status = Status() from user_functions.data import Uf_info; uf_info = Uf_info() # relax GUI imports. @@ -648,7 +649,7 @@ self.execute(self.name, **kargs) # Bring the controller to the front. - if self.uf_data.display: + if status.show_gui and self.uf_data.display: wx.CallAfter(app.gui.controller.Raise)