Author: bugman Date: Wed Jun 29 14:54:46 2011 New Revision: 13292 URL: http://svn.gna.org/viewcvs/relax?rev=13292&view=rev Log: The notebook will now switch to a newly added analysis. Modified: branches/gui_testing/gui/analyses/__init__.py Modified: branches/gui_testing/gui/analyses/__init__.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/analyses/__init__.py?rev=13292&r1=13291&r2=13292&view=diff ============================================================================== --- branches/gui_testing/gui/analyses/__init__.py (original) +++ branches/gui_testing/gui/analyses/__init__.py Wed Jun 29 14:54:46 2011 @@ -305,6 +305,9 @@ # Set this new analysis to the current one. self._current = self._num_analyses - 1 + # Switch to the new page. + self.notebook.SetSelection(self._current) + # Reset the main window layout. self.gui.Layout()