Author: bugman Date: Tue Aug 30 16:12:47 2011 New Revision: 14529 URL: http://svn.gna.org/viewcvs/relax?rev=14529&view=rev Log: A copy of the GUI interpreter singleton is now initialised in the wizard. This is used for the flushing of user functions prior to proceeding. Modified: 1.3/gui/wizard.py Modified: 1.3/gui/wizard.py URL: http://svn.gna.org/viewcvs/relax/1.3/gui/wizard.py?rev=14529&r1=14528&r2=14529&view=diff ============================================================================== --- 1.3/gui/wizard.py (original) +++ 1.3/gui/wizard.py Tue Aug 30 16:12:47 2011 @@ -34,6 +34,7 @@ from status import Status; status = Status() # relax GUI module imports. +from gui.interpreter import Interpreter; interpreter = Interpreter() from gui.filedialog import RelaxFileDialog from gui.fonts import font from gui.icons import relax_icons @@ -1297,7 +1298,7 @@ # UF flush. if self._uf_flush[self._current_page]: - self.gui.interpreter.flush() + interpreter.flush() # Check for execution errors. if not self._pages[self._current_page].exec_status: @@ -1353,7 +1354,7 @@ # UF flush. if self._uf_flush[i]: - self.gui.interpreter.flush() + interpreter.flush() # Increment the execution counter. self._exec_count[i] += 1