Author: bugman Date: Thu May 10 20:49:52 2012 New Revision: 16209 URL: http://svn.gna.org/viewcvs/relax?rev=16209&view=rev Log: Fix for the Analysis_controller.on_page_changed() method for reset events. The relax data store now always has a ds.relax_gui object! Modified: branches/uf_redesign/gui/analyses/__init__.py Modified: branches/uf_redesign/gui/analyses/__init__.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/analyses/__init__.py?rev=16209&r1=16208&r2=16209&view=diff ============================================================================== --- branches/uf_redesign/gui/analyses/__init__.py (original) +++ branches/uf_redesign/gui/analyses/__init__.py Thu May 10 20:49:52 2012 @@ -532,7 +532,7 @@ self._current = event.GetSelection() # Handel calls to the reset user function! - if not hasattr(ds, 'relax_gui'): + if ds.is_empty(): return # Switch to the major data pipe of that page if not the current one.