mailr14585 - /1.3/gui/analyses/auto_noe.py


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

Header


Content

Posted by edward on September 05, 2011 - 17:29:
Author: bugman
Date: Mon Sep  5 17:29:00 2011
New Revision: 14585

URL: http://svn.gna.org/viewcvs/relax?rev=14585&view=rev
Log:
Fix for the NOE spectrum loading wizard - the comboboxes need 
SetStringSelection rather than SetValue calls.

SetValue and GetValue on the read only combo boxes seems to fail on Mac OS X.


Modified:
    1.3/gui/analyses/auto_noe.py

Modified: 1.3/gui/analyses/auto_noe.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/analyses/auto_noe.py?rev=14585&r1=14584&r2=14585&view=diff
==============================================================================
--- 1.3/gui/analyses/auto_noe.py (original)
+++ 1.3/gui/analyses/auto_noe.py Mon Sep  5 17:29:00 2011
@@ -434,7 +434,7 @@
 
         # Set the ID in the spectrum.replicated page.
         page = self.wizard.get_page(self.page_indices['pts'])
-        page.spectrum_id1.SetValue(str_to_gui(id))
+        page.spectrum_id1.SetStringSelection(str_to_gui(id))
 
 
     def wizard_update_repl(self):
@@ -448,7 +448,7 @@
 
         # Set the ID in the spectrum.replicated page.
         page = self.wizard.get_page(self.page_indices['repl'])
-        page.spectrum_id1.SetValue(str_to_gui(id))
+        page.spectrum_id1.SetStringSelection(str_to_gui(id))
 
 
     def wizard_update_rmsd(self):
@@ -462,7 +462,7 @@
 
         # Set the ID in the spectrum.baseplane_rmsd page.
         page = self.wizard.get_page(self.page_indices['rmsd'])
-        page.spectrum_id.SetValue(str_to_gui(id))
+        page.spectrum_id.SetStringSelection(str_to_gui(id))
 
 
     def wizard_update_spectrum_type(self):
@@ -476,7 +476,7 @@
 
         # Set the ID in the noe.spectrum_type page.
         page = self.wizard.get_page(self.page_indices['spectrum_type'])
-        page.spectrum_id.SetValue(str_to_gui(id))
+        page.spectrum_id.SetStringSelection(str_to_gui(id))
 
 
 




Related Messages


Powered by MHonArc, Updated Mon Sep 05 17:40:02 2011