mailr11721 - /branches/bieri_gui/gui_bieri/components/mol_res_spin_tree.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on December 07, 2010 - 11:23:
Author: bugman
Date: Tue Dec  7 11:23:52 2010
New Revision: 11721

URL: http://svn.gna.org/viewcvs/relax?rev=11721&view=rev
Log:
The molecule icon is shown at all times in the spin tree view GUI element.


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=11721&r1=11720&r2=11721&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 
11:23:52 2010
@@ -106,7 +106,7 @@
             self.tree.SetPyData(mol_branch, None)
 
             # Set the bitmap.
-            self.tree.SetItemImage(mol_branch, self.icon_mol_index, 
wx.TreeItemIcon_Normal|wx.TreeItemIcon_Expanded)
+            self.tree.SetItemImage(mol_branch, self.icon_mol_index, 
wx.TreeItemIcon_Normal & wx.TreeItemIcon_Expanded)
 
             # The residues.
             for res in mol.res:




Related Messages


Powered by MHonArc, Updated Tue Dec 07 12:00:02 2010