Author: bugman Date: Tue Dec 7 14:54:11 2010 New Revision: 11728 URL: http://svn.gna.org/viewcvs/relax?rev=11728&view=rev Log: Fix for the spin tree view - reviewing the tree was continually appending without clearing. Modified: branches/bieri_gui/gui_bieri/components/mol_res_spin_tree.py Modified: branches/bieri_gui/gui_bieri/components/mol_res_spin_tree.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/components/mol_res_spin_tree.py?rev=11728&r1=11727&r2=11728&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/components/mol_res_spin_tree.py (original) +++ branches/bieri_gui/gui_bieri/components/mol_res_spin_tree.py Tue Dec 7 14:54:11 2010 @@ -101,6 +101,9 @@ if not pipe: return + # Clear all. + self.tree.DeleteChildren(self.root) + # The molecules. for mol in pipe.mol: # Append a molecule with name to the tree.