Author: bugman Date: Thu Jul 7 18:34:20 2011 New Revision: 13504 URL: http://svn.gna.org/viewcvs/relax?rev=13504&view=rev Log: Fix for the spin viewer window when the currently selected tree element is deleted. The display() method now checks if the info structure is set to None. Modified: branches/gui_testing/gui/spin_viewer/containers.py Modified: branches/gui_testing/gui/spin_viewer/containers.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/spin_viewer/containers.py?rev=13504&r1=13503&r2=13504&view=diff ============================================================================== --- branches/gui_testing/gui/spin_viewer/containers.py (original) +++ branches/gui_testing/gui/spin_viewer/containers.py Thu Jul 7 18:34:20 2011 @@ -94,7 +94,7 @@ self.main_sizer.Clear(deleteWindows=True) # The root window display. - if info == 'root': + if info == 'root' or info == None: self.container = Root(self.main_sizer, self) # The molecule container display.